/
Cancel Reservation [PUT]
Cancel Reservation [PUT]
Operation
Information of the operation
PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/reservation/{reservationId}/cancel
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | true | path parameter | ||
reservationId | Integer | true | path parameter | ||
sendEmail | Boolean | false | request parameter | false |
Example request
PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservation/1/cancel
Body
An array of elements of type ReservationRoomStayStatusInfoChange.
Example body
{ "chainCancellationReasonTypeId":1, "cancellationReason":"Agency change the prices", "refundDeposit": false }
Response
A success or error message.
Example response
{ "httpStatus": "200", "userMessage": "Success", "technicalMessage": "Success ReservationRoomStay/s Status updated to cancel.", "errorCode": "0", "moreInfo": "0", "id": 1, "entity": null, "responseApiErrorList": null }
{ "httpStatus": "200", "userMessage": "Success", "technicalMessage": "Success ReservationRoomStay/s Status updated to cancel AND related Deposit/s refunded.", "errorCode": "0", "moreInfo": "0", "id": 1, "entity": null, "responseApiErrorList": null }
{ "httpStatus": "500", "userMessage": "Error", "technicalMessage": "Success ReservationRoomStay/s Status updated to cancel BUT related Deposit/s NOT refunded.", "errorCode": "0", "moreInfo": "0", "id": 1, "entity": null, "responseApiErrorList": null }
, multiple selections available,
Related content
Update Reservation Situation [PUT]
Update Reservation Situation [PUT]
More like this
Update Reservation Type [PUT]
Update Reservation Type [PUT]
More like this
Payment of ReservationRoomStay [PUT]
Payment of ReservationRoomStay [PUT]
More like this
Update Reservation adding Guarantee and Deposit [PUT]
Update Reservation adding Guarantee and Deposit [PUT]
More like this
Save Reservation Deposit [POST]
Save Reservation Deposit [POST]
More like this
Add new ReservationGroup [POST]
Add new ReservationGroup [POST]
More like this