How can I get all the appointments of a user in Bookings API

Tonti 20 Reputation points
2023-02-08T13:22:30.7133333+00:00

Hi, I am trying to get all the appointments of a user in all calendars of bookings. I want to avoid having to loop all calendars. I read something like this, but it does not work:

https://graph.microsoft.com/beta/users/${userId.id}/events?$filter=eventType eq 'Reservation'`

and in bookings API I just found this: GET /solutions/bookingBusinesses/{id}/appointments where I have to loop all calendars and it is not what I want (it would be very slow)

Could you please help me?

Thanks in advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,515 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gopinath Chennamadhavuni 2,426 Reputation points
    2023-03-21T12:29:54.2166667+00:00

    Hi Tonti,

    Thanks for reaching out.

    As per my knowledge there are no such APIs, publicly available to list out all the appointments of a user in Bookings calendar currently.

    Since this feature/functionality is presently not available, you can submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.