find_next_booking_for_resource
Find the next upcoming booking for a specific resource by ID or name. Optionally set a from date (default today).
Instructions
Find the next upcoming booking that has a specific resource booked against it.
Provide either resource_id, or resource_name to resolve it via a fuzzy search against /bookings/resources (must match exactly one resource). from_date (YYYY-MM-DD) is inclusive and defaults to today.
Note: ChurchSuite's API has no resource or date filter on /bookings/booked_resources, so this fetches every booked resource record and filters client-side - it may be slow on accounts with a long booking history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | No | ||
| resource_name | No | ||
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||