Updates special instructions for every reservation sharing a booking number (R_NO), or for a single
reservation when reservationNo is given. The entire update is rejected if any targeted reservation is closed.
Sample requests:
PATCH /api/v1/reservations/12345?companyId=WS
PATCH /api/v1/reservations/12345?companyId=WS&reservationNo=20387
Headers:
Authorization: Bearer
Body:
{
"specialInstructions": "cab required"
}
Authorization: Bearer ********************{
"specialInstructions": "string"
}curl --location --request PATCH 'https://uat-api.wincloudone.com/stdinterface/api/v1/reservations/?companyId=&reservationNo=' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"specialInstructions": "string"
}'{
"success": true,
"message": "string",
"errorCode": "string",
"statusCode": 0,
"data": {
"reserveNo": 0,
"specialInstructions": "string",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"timestamp": "2019-08-24T14:15:22.123Z",
"correlationId": "string"
}