| POST | /api/reservations/cancel |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReservationId | body | int | No | |
| TestMode | body | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppVersion | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Success | model | boolean | Yes | |
| Error | model | ResponseError | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Summary | model | string | No | |
| Message | model | string | No | |
| Details | model | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Message | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/reservations/cancel HTTP/1.1
Host: api.davincimeetingrooms.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ReservationId":0,"TestMode":false,"Token":"String","AppVersion":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Message":"String","Success":false,"Error":{"Summary":"String","Message":"String","Details":"String"}}