Booking Policies: Supported Filters

Query Booking Policies (SDK | REST) and Count Booking Policies (SDK | REST) allow you to filter based on properties of the bookingPolicy object.

Filtering

Specify the filter object in the following format:

Copy

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

FieldSupported FiltersSortable
id$eq, $ne, $inSortable
name$eq, $ne, $startsWithSortable
customPolicyDescription.enabled$eq, $neSortable
customPolicyDescription.description$eq, $ne, $startsWithSortable
limitEarlyBookingPolicy.enabled$eq, $neSortable
limitEarlyBookingPolicy.earliestBookingInMinutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
limitLateBookingPolicy.enabled$eq, $neSortable
limitLateBookingPolicy.latestBookingInMinutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
bookAfterStartPolicy.enabled$eq, $neSortable
cancellationPolicy.enabled$eq, $neSortable
cancellationPolicy.limitLatestCancellation$eq, $neSortable
cancellationPolicy.latestCancellationInMinutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
reschedulePolicy.enabled$eq, $neSortable
reschedulePolicy.limitLatestReschedule$eq, $neSortable
reschedulePolicy.latestRescheduleInMinutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
waitlistPolicy.enabled$eq, $neSortable
waitlistPolicy.capacity$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
waitlistPolicy.reservationTimeInMinutes$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
participantsPolicy.enabled$eq, $neSortable
participantsPolicy.maxParticipantsPerBooking$eq, $ne, $lt, $lte, $gt, $gte, $in, $ninSortable
resourcesPolicy.enabled$eq, $neSortable
resourcesPolicy.autoAssignAllowed$eq, $neSortable

Sorting

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:

Copy

Related content:

  • API Query Language (SDK | REST)
  • Query Booking Policies (SDK | REST)
  • Count Booking Policies (SDK | REST)
Did this help?