List appointment returning empty customers array

Macháček Martin 56 Reputation points
2022-01-31T13:08:19.737+00:00

The endpoint for booking appointment

GET v1.0/solutions/bookingBusinesses/{id}/calendarView?start={start-value}&end={end-value}  

Returns empty customers property even in case that appointment has customers.

Is it a bug in Graph API or some permission issue?

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.
175 questions
1 vote

2 answers

Sort by: Most helpful
  1. MarkAtAgilliance 1 Reputation point
    2022-02-01T05:06:00.197+00:00

    OK, I think I may have an answer based on an answer to a similar missing field question which I posted here.
    businessbookings-v1-not-returning-some-data-elemen.html

    It looks like this node is not available in the get list and you have to retrieve each appointment by its ID to see this information.

    IMHO, Not very helpful since often in lists we want to see customer details. I guess this is a casualty of the "enhancement" of being able to have multiple customers per booking.

    Unlike my issue which was documented, this behaviour appears not to be documented.

    HTH.
    Mark.


  2. Bob Haring 1 Reputation point
    2022-08-31T03:56:04.617+00:00

    It's a bit absurd to have the documentation suggest that it's possible. Even providing an example json with customer information:
    https://learn.microsoft.com/en-us/graph/api/bookingbusiness-list-calendarview?view=graph-rest-1.0