FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: search-availability-request.md
# Search Availability Request ## Structure `SearchAvailabilityRequest` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `query` | [`SearchAvailabilityQuery`](../../doc/models/search-availability-query.md) | Required | The query used to search for buyer-accessible availabilities of bookings. | getQuery(): SearchAvailabilityQuery | setQuery(SearchAvailabilityQuery query): void | ## Example (as JSON) ```json { "query": { "filter": { "start_at_range": { "start_at": "start_at6", "end_at": "end_at6" }, "location_id": "location_id8", "segment_filters": [ { "service_variation_id": "service_variation_id4", "team_member_id_filter": { "all": [ "all5", "all6", "all7" ], "any": [ "any2", "any3", "any4" ], "none": [ "none7", "none8" ] } }, { "service_variation_id": "service_variation_id4", "team_member_id_filter": { "all": [ "all5", "all6", "all7" ], "any": [ "any2", "any3", "any4" ], "none": [ "none7", "none8" ] } }, { "service_variation_id": "service_variation_id4", "team_member_id_filter": { "all": [ "all5", "all6", "all7" ], "any": [ "any2", "any3", "any4" ], "none": [ "none7", "none8" ] } } ], "booking_id": "booking_id8" } } } ```
Save
Back