question

Steve-5652 avatar image
0 Votes"
Steve-5652 asked SrinivasaRaoDarna-MSFT commented

Bookings - service API staff members limited to 31

Hi everyone,

I'm facing with a weird behavior of the bookingService API that I would like to use to list staff members related to a specific service (staffMembers API return all the staff members related to the bookingBusiness even if not enabled in a service).
It seems that the API returns in staffMemberIds property only 31 members, even if I enabled more than 31 members. I tried using graph explorer and I obtain the same result.
I'm not able to list all staff members related to a specific server in any way. I'm missing something?

Unfortunately I can't provide any test case because the sample data in graph explorer does not contain any staff members.

microsoft-graph-customer-booking
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SrinivasaRaoDarna-MSFT avatar image
0 Votes"
SrinivasaRaoDarna-MSFT answered SrinivasaRaoDarna-MSFT commented

Hi @Steve-5652,

Staff members API would return all the staff members in bookings calendar, Microsoft Bookings supports a maximum of 100 staff members in a booking calendar.

With bookings services you can get staff members specific to a bookings service, following is my test result from Graph Explorer.

 GET /solutions/bookingBusinesses/{id}/services/{id}

199096-836534-0.jpg

References:
booking staff members
bookingservice-get

Hope this helps.

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


836534-0.jpg (79.9 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the answer,

in my tests if the staff members are more that 31

GET /solutions/bookingBusinesses/{id}/services/{id}

returns only 31 records. I have a service with 50 and 64 staff and the above API returns only 31 items in staffMemberIds.
Am I expecting wrong that it should return all the members?

0 Votes 0 ·

Hi @Steve-5652, From my test I am able to fetch more than 31 staff members for a specific service. Below is my test result.

199848-836534-1.jpg

Can you share screenshot from test for both service staff members in Booking Services UI and Graph response as well?

For PII reasons, if you are not able to share screenshot on community forum, open support case with Microsoft a Support Engineer will be able to advise.

Hope this helps.

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

1 Vote 1 ·
836534-1.jpg (109.7 KiB)

Thanks for the help.
Looking at your example I found that listing all the services the API returns only 31 rows but asking for a specific service providing service ID all the staffmembers are listed.
Just the last question, I created a calendar with 110 guest staff members apparently going beyond the 100 limit without restrictions, maybe the limit is on non-guest accounts?
Thanks again.

0 Votes 0 ·

Hi @Steve-5652, As per documentation currently Bookings supports upto 100 staff members, a staff member can be a guest or internal member from the tenant.

Refer to the documentation Bookings supports up to 100 staff members in a Bookings Calendar.
Hope this helps.

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

0 Votes 0 ·