Save Selected Appointment
Endpoint
POST
undefined/msapi/sales/unifiedscheduling/unified-appointments/v1/appointments
Copy
After the user selects an appointment from the list of appointments returned from the /appointments/carts/{shoppingCartId} GET request, the selected appointment is saved to the database through this POST call. The selected field is of type real-time, preferred or asap and has an id similar to availableTimeSlot's id. For <b> real time appointment, the id is a combination of workorder id, the date and time period of the appointment, like "W3074670354-2023-03-16-9-11" </b>. For a <b> preferred appointment it would be a combination of weekday and the time period, like "Monday-8AM-12PM"</b>. In preferred appointments, there is one possibility of type "asap" and id "asap" which can also be selected by the user.
Header Parameters
Body Parameters
Responses
Successfully persisted selected appointment.
Body
application/json