Cancel Call Request API
Modified on: 2025-10-20 15:20
TABLE OF CONTENTS
- Cancel Call Request Schema
- Cancel Call Request Example
- Cancel Call Request Response Schema
- Cancel Call Request Response Example
Cancel Call Request Schema
This endpoint allows your system to submit a cancellation request for a previously created call request. By doing so, you indicate that DerbySoft should no longer attempt to contact the hotel on your behalf. To successfully cancel a call request:
- The check-in date must not be in the past.
- The call request’s status must not be Completed or being currently progress.
- Requests that are already completed or actively being processed cannot be canceled
| Level | Field Name | Num.Occ. | DataType | Format | Description | Example |
|---|---|---|---|---|---|---|
| 1 | CallRequested | 1 | String | 16 Char | Unique identifier for a call request provided by Derbysoft when the call request was submitted. | 66a1b2c3d4e5f678 |
Cancel Call Request Example
Call request cancellation RQ
{
"callRequestId": "77b2c4d5e6f7g890"
}Cancel Call Request Response Schema
When a cancellation request is submitted, DerbySoft will return a response indicating whether the operation was successful.
- If the cancellation is successful, the response will:
- Include a confirmation message.
- Provide a timestamp indicating when the call request was canceled.
- If the cancellation fails (e.g., due to invalid status or check-in constraints), the response will:
- Indicate that the call request could not be canceled.
- Indicating a reason or error message explaining why the cancellation was rejected.
| Level | Field Name | Num.Occ. | DataType | FormaT | Description | Example |
|---|---|---|---|---|---|---|
| 1 | success | 1 | boolean | True False | True: call request was successfully retrieve False: call request cannot be retrieve | TRUE |
| 1 | result | 0...1 | object | 36 Char | Universal Unique Identifier. Number used to uniquely identify. | bc8f34aO-d6d8-4575-a70a-f78453761214 |
| 2 | callRequstId | 1 | String | 16 Char | Unique identifier for a call request provided by Derbysoft when the call request was submitted. | 66a1b2c3d4e5f678 |
| 2 | cancelled_at | 1 | date-time | YYYY-MM-DDTHH:MM:SSZ | Timestamp of when cancellation was processed under full ISO 8601 UTC | 2025-04-22T14:30:00Z |
| 1 | error | 0...1 | object | - | Object used for error description | - |
| 2 | code | 0...1 | string | 100 | Short error description | BAD_REQUEST |
| 2 | message | 0...1 | string | 500 | Long error description | "Invalid request: call type cannot be empty" |
Cancel Call Request Response Example
Call request cancellation Success RS
{
"success": true,
"results": {
"callRequestId": "77b2c4d5e6f7g890",
"cancelled_at": "2025-06-03T09:31:00Z"
}Call request cancellation Error RS
{
"success": false,
"error": {
"code": "CANCELLATION_NOT_ALLOWED",
"message": "Call request cannot be cancelled as check in is in the past."
}
}Did you find it helpful? Yes No
Send feedback