Save Selected Appointment
Version v1
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
- idpctx-uuidstringIDP UUID
Body Parameters
- objectRequired
- selectedobjectAn Appointment is an arrangement to do something or meet someone at a particular time, at a place (for face to face appointment) or in a contact medium (for phone appointment).
- installationDayContactobject
Responses
Successfully persisted selected appointment.
Body
application/json
- objectRequired
- selectedobjectThe selected object can be of type realTime, preferred or ASAP
- calendarEventInfoobject