How to get a list of bookingAppointment objects for the specified bookingBusiness.

Pablo Veliz 0 Reputation points

Hi, I'm following the instructions on this page and I'm not getting data on the response despite of I have many appointments created.

I'm able to retrieve Booking Business, Customers, Services, Staff Members except for Appointments and Calendar View.

Do you have any idea what I could be doing wrong here?


User's image

    "@odata.context": "$metadata#solutions/bookingBusinesses('')/calendarView",
    "value": []

    "@odata.context": "$metadata#solutions/bookingBusinesses('')/appointments",
    "value": []

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,299 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.
198 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TH-4749 705 Reputation points

    Hello Pablo Veliz.

    Thanks for reaching out. The GET{Id}/appointments API call will only work for scheduling mailboxes.

    To find a list of addresses for the booking calendar use the following API call

    Please refer to the below articles for more information on Microsoft Bookings:

    Microsoft Bookings Behind the scenes

    Using scripts for Microsoft Bookings calendar and mailbox