Is there a way to select multiple events on the resource timeline/scheduler?
I have been looking at all the docs and can't find anything! Is this a feature?
Related
I am trying to get a user's availability, but in one use case, I want to ignore their actual availability rules and even their current schedule and calendar. Basically I am using cronofy in this use case to just provide me a list of times.
According to the docs https://docs.cronofy.com/developers/api/scheduling/availability/
I should be able to specify participants.members.available_periods.start and participants.members.available_periods.end. I've read and re-read these params over and over and am sure I am sending it as specified, but cronofy still returns to me only times that the user is not "busy".
Am I still not understanding this param? Is there another way to ignore a user's calendar, ie ignore their "busy" time slots?
The intent of the participants.members.available_periods parameter is to define a specific participant's availability hours for the query. Useful in multi-person queries when one or more participants have ad-hoc shift patterns or other complicated working hours. You can choose to specify these here or use our Available Periods endpoint along with Managed Availability to have the availability query consider the latest set of Available Periods when it is run.
The Availability query isn't designed to ignore all calendar events for an individual participant but there is another way you can achieve what you're looking for.
Application Calendars are designed as drop in replacements for synced-calendar Accounts in Cronofy. So you can create one of more of these via the API and use them in the Availability query as a stand-in for the participant.
They still support Managed Availability and can have events created in them. So if you wanted to ensure that your application doesn't double book over the events it already knows about, you can just create the events as your application books them.
I hope this helps. Our support team (support#cronofy.com) are always happy to talk through the specifics of your use case if that would be helpful.
-- UPDATE --
We've decided to support this as a first class concept in our API.
You can now pass an empty array to the participants.member.calendar_ids attribute to indicate that you don't want any calendars included within the availability query. And thus, only the Availability Rules or query periods will be considered. Thanks for the question.
More information here.
I want to get the list of telegram groups(name) which I am a part of. Like a text file or something else. How can I do that?
I had the same question here, so I started searching and found no proper answer. Then I came over this question and since it had no answers, it triggered me to search more and write an answer.
According to what Telegram document says here and here:
messages.getAllChats
Get all chats, channels and supergroup
apparently getAllChats gives you all ChatIds. You can pass chatIds to another API to get chat name and more info.
Also, if you want to get the list of chats you administrate, use the following API:
channels.getAdminedPublicChannels
Get channels/supergroups/geogroups we're admin in. Usually called when
the user exceeds the limit for owned public
channels/supergroups/geogroups, and the user is given the choice to
remove one of his channels/supergroups/geogroups.
I just don't like (or maybe understand) the way they documented their APIs. I wish it was something more familiar, more HTTP-like.
Another way - use web-version of the telegram and parse HTML. Here are steps:
create folder with only groups;
go to web-version, open this folder;
run code copy($$(".dialog-title .peer-title").map(function(e){return e.textContent})) in console, it will copy title of groups on screen into clipboard;
if you have a lot groups on several screens, list groups below and make previous step again;
join all the groups into one big list;
profit!
I'm using fullcalendar and I need to let user select multiple rows for create a multi-resource event (documentation) but I not find how to do so. Anyone have any idea?
I'd say it's not supported. https://fullcalendar.io/docs/selection/select_callback/ indicates that when a selection is made, the callback will return a single "resource" object which will indicate the resource chosen by the user. This implies that selecting multiple resources via dragging the mouse on the timeline is not possible.
You can create events via the "events" feeds which are associated with multiple resources (see https://fullcalendar.io/docs/resource_data/associating_events/) but it's not supported via the UI yet.
You'd have to create your own UI to allow the user to specify this, and/or put in a feature request to the maintainer to add this support in future (it may already be on the roadmap, I haven't looked).
I'm wondering if it's possible to get a list of active programs (specifically 'event' types), and then list the members of those programs and their current status within them.
Basically, I'm looking to replicate the Members tab on the top level of the Program view in order to have an external view of our event processes, but add extra functionality to enable non-marketo users to change statuses of those leads (ie from Registered -> Attended).
From what i can see, this isn't possible with the REST API at the moment (?), and I can't quite get my head around what calls to use in the SOAP API...
I see a few different topics in your question, so I'll talk about them individually.
Is it possible to get a list of active programs? This is possible. You can get a list campaigns and their associated programs through the Get Multiple Campaigns REST API.
Is it possible to get a list program members? This is possible. You can get a list of leads associated with a Program through the Get Multiple Leads by Program Id REST API.
Is it possible to a get a lead's status in a program? This is not directly possible, but there is a workaround. When a lead's status changes in a program, you can add that lead to a static list. You can then query leads from that static list using the Get Multiple Leads by List Id REST API.
To get a list of Programs, use the SOAP API getMObjects with type = Program: http://developers.marketo.com/documentation/soap/getmobjects/
Using solrcloud 4.6, let's say I have a 8 node cluster with a shard running on each node and many different collections. Basically a collections is made each day (to partition the data). Now the question is how to search all of the collection without knowing their names?
The wiki says I can do this:
http://localhost:8983/solr/collection1/select?collection=collection1_NY,collection1_NJ,collection1_CT
which is basically searching multiple collections at the same time. But in my case collections are dynamically created and I don't know the current names.
Is there a way to send a generic search query that hits all the collections?
Or a way to specify a range of collections like collection1-10 or collection*2013?
I also know I can hook into the ZK and get the info but that would be too advanced for what I'm doing.
This should be done with SOLR-5466 (EDIT this is done as of 4.8), but has no patch ready yet...
In this question on the mailing list two workarounds are given, both retrieving the info from zookeeper, via api call or parsing html response to a get.
Here are the two workarounds:
ZK client API
you could just do a get_children on the zk node
/collections/ to get all collections.
without ZK client API point this url at your solrCloud install
href="http://host:port/solr/zookeeper?detail=true&path=%2Fcollections
you should be looking for children under the collections node.
To my knowledge you need to know something about the collections and you create alias for a group of collections.
You can do something like this:
http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=AliasName&collection=ListOfCollections
More on this topic:http://blog.cloudera.com/blog/2013/10/collection-aliasing-near-real-time-search-for-really-big-data/
I found the list of collections by requesting:
http://localhost:8983/solr/admin/collections?action=LIST
My Solr version is: 8.7.0