I can create an event, and I can create a calendar. How do I create an event on a particular calendar? The Calendar section of the Event JSON is read only according to the spec.
Thanks in advance
OK I found the URL needed. Very handy typeahead on the Graph Explorer helped find how to form this:
GET
https://graph.microsoft.com/v1.0/users/[User ID]/calendars/[Calendar ID]/events
Lists the events on this calendar
POST
https://graph.microsoft.com/v1.0/users/[User ID]/calendars/[Calendar ID]/events
Adds a new event.
Hope this helps anyone else.
Related
Current using Microsoft Graph API v1.0 to create onlineMeetings via POST /me/events. Reason being, if you create an onlineMeeting directly and add a user in the meeting, it doesn't create a calendar event.
The params I use for that call is:
:isOnlineMeeting => true,
:onlineMeetingProvider => "teamsForBusiness"
Which works great and returns a joinUrl under onlineMeetings.
However, I'd like to pull attendance data from the GET onlineMeeting route to get attendance information since the attendees section of the event only seems to return users that were added to the actual event, not who attended the actual onlineMeeting.
I have tried doing a get request like such:
/v1.0/me/onlineMeetings?$filter=joinWebUrl%20eq%20'https://whateverthejoinurlis'
but the response says it's not a valid filter.
Any guidance would be appreciated.
Posting the Answer for better knowledge
Copying from #Shiva Keshav Varma comments
Try it in beta version
/beta/me/onlineMeetings?$filter=joinWebUrl%20eq%20'https://whateverthejoinurlis
You can also get the attendeereport using beta/users/{userId}/onlineMeetings/{meetingId}/attendeeReport as specified in the document.
I'm working with Microsoft's Graph API for Outlook calendar events, and I need to fetch the originalStart for exceptions to recurring events on a calendar.
When fetching events using the List events function, I am provided with the events' original start dates, but when I grab a single event using the Get event function, the object returned has no originalStart.
I do receive the event's originalStartTimeZone and originalEndTimeZone, but the original start date is simply missing.
The event resource lists this as a property for events, so I would expect it to be showing up. Any way to get this event without grabbing the entire list of events anew?
I ve checked and confirm originalStart is missing or giving null value. You can look over there as the issue is already known : https://github.com/microsoftgraph/microsoft-graph-docs/issues/4353
I am able to get the originalStart by specifying it in the select query parameter:
https://graph.microsoft.com/v1.0/me/events/<id>?$select=id,subject,originalStart
I'm syncing calendar events using the #microsoft/microsoft-graph-client npm package with the base url /me/calendarview/delta. It's been working fine until a few days ago. For some reason whenever I create a new calendar event in outlook.office.com and my app syncs, the newly created calendar event has the #removed: {reason: "deleted"} field set.
However when I lookup that same calendar event using the Microsoft Graph Explorer that same event does NOT have the #removed field set. Is there any reason a newly created calendar event would look like it's being deleted during a sync?
I'm using #microsoft/microsoft-graph-client v1.3.0
Steps to recreate:
Create an event using the node graph client by POSTing to /me/calendar/events
Grab a delta of calendar events using /me/calendarview/delta with appropriate deltaLink and access token.
I receive 1 calendar event that has 3 fields, #odata.type, id and #removed. The id field matches the id of the created event in step 1.
If you need more information, let me know. This is affecting some of our users.
Update: I tried a workaround for this issue by calling /me/events/<id> for each #removed calendar entry I receive on a delta sync to verify if the event was truly deleted. However when I call that API via the microsoft-graph-client it returns null. If I make the same GET call via MSFT Graph Explorer then the event is returned.
I left an answer on another question here: https://stackoverflow.com/a/65348721/6806302
In short, I went off yesterday on a hunch inspired by #mattlaabs's comment on the question above, that the startDateTime..endDateTime range of the events delta was to blame.
And in practice, that is exactly the problem. The answer is two part:
Changes to events not in the window always show up in the delta stream as #removed.
The events delta parameters are captured in a "closure", meaning subsequent requests (with a $deltatoken) ignore the startDateTime..endDateTime query parameter.
Understanding both of the above, it seems that the answer is to:
Create wide enough initial startDateTime..endDateTime windows to suite your application's needs
Start new events delta streams (by not providing a $deltatoken) at some defined interval instead of reusing the same one indefinitely
I want to hide some document type in setting -> document type. As per community wise. Is this possible to get this with some event handler or via any package or some custom code.
e.g :There is one document type News and there 2 community i want to give this document to community1 which is in Admin and hide from community2.
Thank you.
I find the solution. I can get the list of all the document type by using
TreeControllerBase.TreeNodesRendering event and we can remove particular or remove all the node also.
Thank you.
I'm new to Parse and I've just tried adding a basic event with data like so:
NSDictionary *dimensions = #{
// What type of news is this?
#"category": #"politics",
// Is it a weekday or the weekend?
#"dayType": #"weekday",
};
[PFAnalytics trackEvent:#"read" dimensions:dimensions];
From the dashboard I can see the API Request event recorded but I can't seem to access the specific event or data. Does it take 24 hours to register or am I using the dashboard incorrectly?
Ok, I think I've found the issue. You won't see it in the Dashboard unless you click on "Custom Breakdown" and then select from the options to visualize your custom event, then use the filters to see the dimensions for "category" and "dayType" from the Filters inside of it.
If you want to keep this report for future use then click "Save Breakdown" and you can always come back to it (although you can't edit the filters)
I hope this helps.