NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Visit Type → Get Opening Hours

AI-generated

Summary

Retrieve opening hours for visit types within a specified clinic and date range, optionally filtering by visit type or doctor.

Inputs

  • Clinic — Specify the clinic to retrieve opening hours for, either by selecting from a list of clinics or by entering a clinic UUID. Required for getting many opening hours but optional for this operation.
  • Start Date (required) — The start date (date only) from which to begin searching for available opening hours.
  • End Date (required) — The end date (date only) up to which to search for available opening hours.
  • Visit Type ID — Optional filter to narrow opening hours to a specific visit type by its ID.
  • Doctor ID — Optional filter to narrow opening hours to a specific doctor by their ID.

Output shape

a list of opening hours records for visit types, each covering specified dates and filtered by provided parameters

The returned data corresponds to opening hours available in the given clinic within the date range, optionally filtered by visit type or doctor IDs. Dates are sent as ISO strings without time. Clinic is used if specified. Errors returned if mandatory dates are missing or invalid.

Links

Discussion