Forum Discussion

JustinG's avatar
JustinG
Brass Contributor
May 08, 2024

Is there are way to set an appoinment as "All Day" via the API

The bookings API has come a long way, but it still appears to be missing basic things that are available via the Calendar API.

https://learn.microsoft.com/en-us/graph/api/bookingappointment-get?view=graph-rest-1.0&tabs=http

 

Is there a documented (or undocumented) way to get and set the Bookings appointment item as "All Day" from the API? This option exists in the web interface, so it has to be available in the backend somewhere.


  • ZackKhalifah's avatar
    ZackKhalifah
    Copper Contributor
    Assuming you've already thought of this, but you could do a patch request and update the start and end time of the appointment.
    • JustinG's avatar
      JustinG
      Brass Contributor
      Basically, that's what I am doing for now. The ALL-DAY box remains unchecked, but at least the times are correct.