POST v{version}/bookings/cancellations
Gets cancellations
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
CancellationsLimiter| Name | Description | Type | Additional information |
|---|---|---|---|
| DateFrom |
Filter using gt and eq |
date |
Required Data type: Date |
| DateTo |
Filter using lt and eq |
date |
Required Data type: Date |
| WeekDay |
Filter using equals |
integer |
None. |
| Take | integer |
Range: inclusive between 0 and 200 |
|
| Skip | integer |
Range: inclusive between 0 and 2147483647 |
|
| Sort |
Available Date |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DateFrom": "2025-12-18T20:45:20.0771235+01:00",
"DateTo": "2025-12-18T20:45:20.0771235+01:00",
"WeekDay": 1,
"Take": 3,
"Skip": 4,
"Sort": "sample string 5"
}
application/xml, text/xml
Sample:
<CancellationsLimiter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels"> <DateFrom>2025-12-18T20:45:20.0771235+01:00</DateFrom> <DateTo>2025-12-18T20:45:20.0771235+01:00</DateTo> <Skip>4</Skip> <Sort>sample string 5</Sort> <Take>3</Take> <WeekDay>1</WeekDay> </CancellationsLimiter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IPagedResultOfCancellationViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Results | Collection of CancellationViewModel |
None. |
|
| TotalResults | integer |
None. |
|
| RequestResults | integer |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.