Query Booking Policies
(SDK | REST)
and Count Booking Policies
(SDK | REST)
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 |
customPolicyDescription.enabled | $eq, $ne | Sortable |
customPolicyDescription.description | $eq, $ne, $startsWith | Sortable |
limitEarlyBookingPolicy.enabled | $eq, $ne | Sortable |
limitEarlyBookingPolicy.earliestBookingInMinutes | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
limitLateBookingPolicy.enabled | $eq, $ne | Sortable |
limitLateBookingPolicy.latestBookingInMinutes | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
bookAfterStartPolicy.enabled | $eq, $ne | Sortable |
cancellationPolicy.enabled | $eq, $ne | Sortable |
cancellationPolicy.limitLatestCancellation | $eq, $ne | Sortable |
cancellationPolicy.latestCancellationInMinutes | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
reschedulePolicy.enabled | $eq, $ne | Sortable |
reschedulePolicy.limitLatestReschedule | $eq, $ne | Sortable |
reschedulePolicy.latestRescheduleInMinutes | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
waitlistPolicy.enabled | $eq, $ne | Sortable |
waitlistPolicy.capacity | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
waitlistPolicy.reservationTimeInMinutes | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
participantsPolicy.enabled | $eq, $ne | Sortable |
participantsPolicy.maxParticipantsPerBooking | $eq, $ne, $lt, $lte, $gt, $gte, $in, $nin | Sortable |
resourcesPolicy.enabled | $eq, $ne | Sortable |
resourcesPolicy.autoAssignAllowed | $eq, $ne | Sortable |
By default, Query Booking Policies
(SDK | REST)
is sorted by createdDate in ascending order.
You can override the default sorting by specifying the sort object in the
following format:
Related content: