getAllAvailabilityBlocks
Fetch all availability blocks for reservations in Mews MCP by applying filters such as date ranges, IDs, or collision intervals. Supports rate, space, and category blocks with a maximum time span of 100 hours.
Instructions
Returns all availability blocks (reservations blocked by rate, space category, or space) based on filter parameters. Note: At least one filter must be provided (CreatedUtc, UpdatedUtc, CollidingUtc, AvailabilityBlockIds, or ExternalIdentifiers). The time interval must not exceed 100 hours.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
AvailabilityBlockIds | No | Filter by specific availability block IDs | |
CollidingUtc | No | Find blocks that collide with this time range | |
EndUtc | Yes | End date for search (ISO 8601) | |
ServiceIds | No | Filter by service IDs | |
StartUtc | Yes | Start date for search (ISO 8601) |