Skip to main content

Book a repair

POST: /Appointments/BookAppointment​

Request:​

Authorization​

Bearer Token <token>

Body​

{
"bookingReference": "A2B3C4",
"sorCode": "123ABC",
"locationId": "333333",
"startDateTime": "2022-03-15T12:00:00Z",
"endDateTime": "2022-03-15T16:00:00Z"
}
note

bookingReference is the id generated by the Repairs API at the time of saving the request to Cosmos DB

Response:​

Given bookingReference

A2B3C4