Anny icon

Anny

Interact with the anny booking platform

Actions23

Availability → Get End Times

AI-generated

Summary

Retrieve all possible interval end datetimes for a given start datetime to determine when a service's availability ends.

Inputs

  • Authentication (required) — Choose the authentication method, either OAuth2 or Access Token.
  • Service (required) — Select or specify the service to check availability for by list or ID.
  • Start Date Time (required) — Provide the start datetime to get the corresponding interval end times.
  • Timezone (required) — Specify the user's timezone to correctly calculate availability intervals.
  • Service Quantity — Set the quantity of the service to book; defaults to 1.
  • Resource — Optionally filter availability by a specific resource by list or ID.

Output shape

a list of availability interval end datetimes corresponding to the input start datetime and service parameters

Returns raw API data without automatic simplification; includes all matching end times for the specified start datetime, service, timezone, and optional resource filter.

Examples

Example 1: Get possible end times for a booking starting at a specific datetime

Provide the service identifier, start datetime, timezone, and optionally a resource to retrieve all interval end times available.

Discussion