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.
11,319 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ab-8756 800 Reputation points

    Hello Pablo Veliz,
    Thank you for reaching out.

    From your comments it seems like when you call
    It shows the bookingBusinesses Id ( '') that you are trying to pull up the appointments for. However, when you call GET /solutions/bookingBusinesses/, it doesn't give you any value even though some bookings are scheduled.

    I was able to display all the bookingBusiness ID with;-
    Furthermore, I grabbed the id and do a GET call
    It shows the list of List appointments I have.

    Please double check if you are entering the correct bookingBusiness ID in the GET /solutions/bookingBusinesses/{id}/appointments call.
    Check for multiple bookingBusiness IDs, if all shows no value in the results.
    If yes, in that case I would recommend you open a support ticket, there could be a bug causing the issue.

    Hope that helps.

    0 comments No comments

  2. Pablo Veliz 0 Reputation points

    Hi @Ab-8756,

    Unfortunately this is not solving the issue.