getAllReservations
Retrieve filtered reservations from the Mews hospitality platform using specific IDs, customer details, states, or date ranges. Supports pagination and ensures results within a 100-hour time interval. Streamline reservation management with precise queries.
Instructions
Get reservations with filters. Note: The time interval between StartUtc and EndUtc must not exceed 100 hours.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
CustomerIds | No | Filter by customer IDs | |
EndUtc | Yes | End date for search (ISO 8601) | |
Limitation | No | Pagination settings | |
ReservationIds | No | Specific reservation IDs to retrieve | |
StartUtc | Yes | Start date for search (ISO 8601) | |
States | No | Filter by reservation states (Confirmed, Canceled, etc.) |
Input Schema (JSON Schema)
{
"properties": {
"CustomerIds": {
"description": "Filter by customer IDs",
"items": {
"type": "string"
},
"type": "array"
},
"EndUtc": {
"description": "End date for search (ISO 8601)",
"type": "string"
},
"Limitation": {
"description": "Pagination settings",
"properties": {
"Count": {
"description": "Maximum number of reservations to return",
"type": "number"
},
"Cursor": {
"description": "Pagination cursor for next page",
"type": "string"
}
},
"type": "object"
},
"ReservationIds": {
"description": "Specific reservation IDs to retrieve",
"items": {
"type": "string"
},
"type": "array"
},
"StartUtc": {
"description": "Start date for search (ISO 8601)",
"type": "string"
},
"States": {
"description": "Filter by reservation states (Confirmed, Canceled, etc.)",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"StartUtc",
"EndUtc"
],
"type": "object"
}