Bookings Graph API
6 TopicsUpdate subject of booking event after its created
I have a booking page with three custom fields. Customer would like two of those custom fields to be appended to the subject line of the booking (student program and student id number). I've been trying to do this using power automate, some graph but I can't seem to extract these two fields. Is this possible?108Views0likes1CommentAppointments Created Through Graph API with Local Time and Local Timezone showing as UTC Time
Within the last month Appointments created through the Graph API using Local Time and Local Timezone, have been showing as the UTC time, but still showing the Local Timezone. Using the Graph API the Appointment Start and End times were set in as local times with the local timezone. Until this last month, these appointments were created successfully and the bookings emails were also showing the correct times. But within the last month, the Times in the Bookings system and emails were showing as UTC. It seems like Microsoft pushed some update that caused times to be processed differently, the times submitted were treated as UTC times When did Microsoft push this update and where is the update post on it? Thank you109Views0likes0Comments"End time can not be a past date." on getStaffAvailability
Today a request to getStaffAvailability that was working no longer works, has anyone experienced the same issue? We are using Bookings APIs with application permissions. API:https://learn.microsoft.com/en-us/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0&tabs=http Request body: { "staffIds": [ ... ], "startDateTime": { "dateTime": "2023-07-04T07:00:00", "timeZone": "UTC" }, "endDateTime": { "dateTime": "2023-08-04T22:00:00", "timeZone": "UTC" } } Response: { "error": { "code": "UnknownError", "message": "{\"error\":{\"message\":\"End time can not be a past date.\",\"code\":\"Bad Request\"}}", "innerError": { "date": "2023-11-14T09:23:47", "request-id": ..., "client-request-id": ... } } }437Views0likes1CommentHow to allow multiple appointments to be created in the same time slot, for the same user
We need to overbook with Microsoft Bookings and a few months ago it was possible to create several appointments in the same time slot of the same uservia the Bookings API. In the past weeks we have noticed the behavior has changed: when we create two appointments in the same time slot for the same user but the second request returns the error "Staff not available" and it does not create the second appointment. The API we are using is: POST /solutions/bookingBusinesses/{id}/appointments (https://learn.microsoft.com/en-us/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0&tabs=http) Is there a way to allow overbooking to create overlapping appointments for the same user?1.1KViews0likes2CommentsExport tracking data with Graph API
We are currently working on exporting data from MS Bookings pages using the Microsoft Graph API. We are having difficulties gathering "Tracking Data" information. According to your documentation, it is possible to export data manually that included specific field (see this documentation https://learn.microsoft.com/en-us/microsoft-365/bookings/reporting-info?view=o365-worldwide), but some of the fields (tracking data) included in the improved report section are not available if extracted automatically with Microsoft Graph. Is there a possibility to export the Tracking Data automatically through a script, rather than accessing each pages and processing manually?591Views0likes0CommentsBooking service availability reset after MS Graph API patching
Hi there, I've noticed an issue around the availability of the service being reset to its default when making a patch through the graph API. For example: If I have my service availability set up like so: And then I run this patch: https://graph.microsoft.com/v1/solutions/bookingBusinesses/{bookingsCalendarUrl}/services/{serviceID} with body: { "@odata.type":"#microsoft.graph.bookingService", "id":"{serviceID}", "displayName":"TestService1", "defaultDuration":"PT15M", "description":"Thisisatestservice", "isHiddenFromCustomers":false, "notes":"", "preBuffer":"PT0S", "postBuffer":"PT0S", "staffMemberIds":[], "schedulingPolicy":{ "timeSlotInterval":"PT15M", "minimumLeadTime":"PT0S", "maximumAdvance":"P365D", "sendConfirmationsToOwner":true, "allowStaffSelection":true } } When I refresh my service it is reset to the following availability (notice the missing custom availability): This is causing issues for us, as we are unable to automatically update assigned staff without removing the custom availabilities we have set up. Which is stopping our students from being able to make bookings. Is this a known issue? Or perhaps I am missing some functionality in the graph API docs around setting the availability of a service? I haven't been able to find any reference to update the availability of a service in the graph documentation, only the businessHours for the calendar itself. Cheers, Andrew856Views0likes0Comments