Forum Discussion
Martin-Coupal
Oct 12, 2020Steel Contributor
Get the ID used in a link for accessing a Booking appointment
Is there a way to get the ID used in a link to the booking appointment with Graph API? https://outlook.office365.com/owa/calendar/[BookingCalendarAddress]/bookings/xxxxxxxxxxxxxxxxxxxxx This ...
Martin-Coupal
Jan 14, 2021Steel Contributor
Sukumar2021, no I did not find this information. I guess it should be returned by the graph.microsoft.com/beta/bookingBusinesses/ api but it is not for now....
Sukumar2021
Mar 02, 2021Copper Contributor
Found the solution. Subscriptionid field is rather converted to short id used in the link. Subscriptionid is converted to 22 char shortid using convert.tobase64string method.
- umer_jMar 02, 2021Copper Contributor
Sukumar2021 Thank you. By Subscription Id, do you mean appointment Id?
Graph Query:
https://graph.microsoft.com/beta/bookingBusinesses/Development@123.onmicrosoft.com/appointments
Results:
Regards Umer
- Sukumar2021Mar 02, 2021Copper ContributorSorry. I meant selfserviceappointmentid which’s a guid and one of the booking fields.
- umer_jMar 02, 2021Copper ContributorHi. Thank you very much for your reply. I am clear about selfserviceappointmentId but what do u mean by one of the booking fields. ? As I understood, I have to convert selfserviceappointmentId to 22 char shortid using convert.tobase64string to get last part of Url?
Regards Umer
Best Regards
Umer Javaid