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 ...
developert2lpr
Dec 02, 2022Copper Contributor
Is this still the case?
Anyone have tips on getting appointment details by power automate or some other method? Looking for details on all appointment details
Anyone have tips on getting appointment details by power automate or some other method? Looking for details on all appointment details
- tpoltorakJan 17, 2023Copper Contributor
developert2lpr use GraphApi to get the details of the service, including "webUrl", which has the direct link to the service in it: Get bookingService - Microsoft Graph v1.0 | Microsoft Learn
- nick_amisApr 21, 2023Copper Contributor
I tried this in PHP as follows but the resulting URL was invalid.
The Self Service Appointment Id guid looks like this: "bd01de34-acd7-44c1-9dbe-d4d2b4cedfb7"
$bytes = unpack("C*", hex2bin(str_replace('-', '', $guid)));
$base64 = base64_encode(call_user_func_array("pack", array_merge(array("C*"), $bytes)));This was the output for $base64: +zBNbEGoS7iXtg41xnewEg==
The doesn't look like the URL from MS Bookings as it only has alphnumerics. What have I missed?
Thanks, Nick