Booking Policy: Filtering and Sorting

Query Booking Policies and Count Booking Policies allow you to filter based on properties of the bookingPolicy object.

Filtering

Specify the filter object in the following format:

Copy
1

The following table shows field support for filters and sorting for the bookingPolicy object:

FieldSupported FiltersSortable
id$eq, $ne, $inSortable
name$eq, $ne, $startsWithSortable
custom_policy_description.enabled$eq, $neSortable
custom_policy_description.description$eq, $ne, $startsWithSortable
limit_early_booking_policy.enabled$eq, $neSortable
limit_early_booking_policy.earliest_booking_in_minutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
limit_late_booking_policy.enabled$eq, $neSortable
limit_late_booking_policy.latest_booking_in_minutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
book_after_start_policy.enabled$eq, $neSortable
cancellation_policy.enabled$eq, $neSortable
cancellation_policy.limit_latest_cancellation$eq, $neSortable
cancellation_policy.latest_cancellation_in_minutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
reschedule_policy.enabled$eq, $neSortable
reschedule_policy.limit_latest_reschedule$eq, $neSortable
reschedule_policy.latest_reschedule_in_minutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
waitlist_policy.enabled$eq, $neSortable
waitlist_policy.capacity$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
waitlist_policy.reservation_time_in_minutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
participants_policy.enabled$eq, $neSortable
participants_policy.max_participants_per_booking$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
resources_policy.enabled$eq, $neSortable
resources_policy.auto_assign_allowed$eq, $neSortable

Sorting

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:

Copy
1

Related content:

Was this helpful?
Yes
No