Query Booking Policies
and Count Booking Policies
allow you to filter based on properties of the bookingPolicy
object.
Specify the filter
object in the following format:
The following table shows field support for filters and sorting
for the bookingPolicy
object:
Field | Supported Filters | Sortable |
---|---|---|
id | $eq , $ne , $in | Sortable |
name | $eq , $ne , $startsWith | Sortable |
custom_policy_description.enabled | $eq , $ne | Sortable |
custom_policy_description.description | $eq , $ne , $startsWith | Sortable |
limit_early_booking_policy.enabled | $eq , $ne | Sortable |
limit_early_booking_policy.earliest_booking_in_minutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
limit_late_booking_policy.enabled | $eq , $ne | Sortable |
limit_late_booking_policy.latest_booking_in_minutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
book_after_start_policy.enabled | $eq , $ne | Sortable |
cancellation_policy.enabled | $eq , $ne | Sortable |
cancellation_policy.limit_latest_cancellation | $eq , $ne | Sortable |
cancellation_policy.latest_cancellation_in_minutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
reschedule_policy.enabled | $eq , $ne | Sortable |
reschedule_policy.limit_latest_reschedule | $eq , $ne | Sortable |
reschedule_policy.latest_reschedule_in_minutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
waitlist_policy.enabled | $eq , $ne | Sortable |
waitlist_policy.capacity | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
waitlist_policy.reservation_time_in_minutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
participants_policy.enabled | $eq , $ne | Sortable |
participants_policy.max_participants_per_booking | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin | Sortable |
resources_policy.enabled | $eq , $ne | Sortable |
resources_policy.auto_assign_allowed | $eq , $ne | Sortable |
By default Query Booking Policies
is sorted by createdDate
in ascending order.
You can override the default sorting by specifying the sort
object in the following format:
Related content: