countBookingPolicies()
allows 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
for the bookingPolicy
object:
Field | Supported Filters |
---|---|
id | $eq , $ne , $in |
name | $eq , $ne , $startsWith |
customPolicyDescription.enabled | $eq , $ne |
customPolicyDescription.description | $eq , $ne , $startsWith |
limitEarlyBookingPolicy.enabled | $eq , $ne |
limitEarlyBookingPolicy.earliestBookingInMinutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
limitLateBookingPolicy.enabled | $eq , $ne |
limitLateBookingPolicy.latestBookingInMinutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
bookAfterStartPolicy.enabled | $eq , $ne |
cancellationPolicy.enabled | $eq , $ne |
cancellationPolicy.limitLatestCancellation | $eq , $ne |
cancellationPolicy.latestCancellationInMinutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
reschedulePolicy.enabled | $eq , $ne |
reschedulePolicy.limitLatestReschedule | $eq , $ne |
reschedulePolicy.latestRescheduleInMinutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
waitlistPolicy.enabled | $eq , $ne |
waitlistPolicy.capacity | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
waitlistPolicy.reservationTimeInMinutes | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
participantsPolicy.enabled | $eq , $ne |
participantsPolicy.maxParticipantsPerBooking | $eq , $ne , $lt , $lte , $gt , $gte , $in , $nin |
resourcesPolicy.enabled | $eq , $ne |
resourcesPolicy.autoAssignAllowed | $eq , $ne |
Related content: