BusinessBookings V1 not returning some data elements.

MarkAtAgilliance 6 Reputation points
2022-01-06T05:56:29.197+00:00

I am using the Graph sdk/api to setup bookings. there are several fields that appear to set but not return data elements.

One example: ServiceNotes in BookingAppointment.

I can set it both in the Bookings portal and the API. I can see the value in the Bookings portal but it is not returned in the API.

The the following for example.

I tried this on both Graph SDK 4.14 and Graph Beta SDK 4.24.
162791-image.png

162659-image.png

Any suggestions?
Thanks, Mark.

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

3 answers

Sort by: Most helpful
  1. Sheena-MSFT 1,721 Reputation points
    2022-01-11T12:40:37.027+00:00

    Hi @MarkAtAgilliance

    The property ServiceNotes will give null if you are querying with https://graph.microsoft.com/beta/bookingBusinesses/{id}/appointments
    163789-booking1.png
    163810-booking2.png

    The value of ServiceNotes property is available only when reading this bookingAppointment by its ID as mentioned here

    163931-booking3.png

    Hope this helps.

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

    0 comments No comments

  2. MarkAtAgilliance 6 Reputation points
    2022-02-01T04:57:10.51+00:00

    OK, I see that detail.

    There should be a strategy here to not return any fields that cannot return data. Otherwise it leads to confusion.

    Overall, it does not appear we have a field that can store custom data that appears in list views. If there is, please point it out. e.g. customer notes have the same behaviour as service notes.

    Use case: I need to be able to store an external reference in an appointment (e.g. e.g. a customer number or address id) and be able to see that when a list of appointments is returned.

    Thanks,
    Mark.


  3. Tonti 20 Reputation points
    2023-05-12T08:13:11.2233333+00:00

    is there any solution to this? customers field in appointments is still an empty array...

    Thanks

    0 comments No comments