BookingBusinesses calendarView endpoint return empty array in customers info

Alonso Mora 40 Reputation points
2023-05-08T23:16:41.0266667+00:00

Hi all.

I am trying to use calendarView endpoint to be able to filter appointments by date, but it always returns an empty array in the customers section.

User's image

I tried to use the appointments endpoint with delegated permissions, but it still returned empty customers.

I also tried to add "calendars" and "user" permissions in azure active directory, but the result was the same.

User's image

And finally I tried to make the request back to the appointments endpoint, but now with application permissions, surprisingly this time it did return the information of the customers.But this does not help me because I need to get the appointments filtered by date.

Does anyone know why this happens or how to solve it?

Thanks!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,330 questions
Microsoft Graph Customer Booking API
Microsoft Graph Customer Booking API
A Microsoft API that lets enterprise organization and small business owners manage customer bookings and information with minimal setup.
197 questions
0 comments No comments
{count} votes

Accepted answer
  1. TH-4749 780 Reputation points
    2023-05-09T16:08:28.6833333+00:00

    Hello Alonso Mora,

    Thanks for reaching out. To assist you further kindly provide the complete URL of the endpoint you are using to retrieve the Bookings Calendar view. Does the Booking Calendar have any customers assigned under the Customers tab of the booking calendar? Does the issue occur with a specific Booking calendar or others as well? Does the endpoint https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/<BookingCalendarEmail>/customers return any results?

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

    Thanks.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful