NextMotion icon

NextMotion

Interact with NextMotion API for patient care management

Actions163

Calendar Opening Hour → Update

AI-generated

Summary

Update an existing calendar opening hour by specifying its ID and optionally modifying its slots count, slot uniqueness, and allowed visit types.

Inputs

  • Calendar Opening Hour ID (required) — The unique identifier of the calendar opening hour to update.
  • Additional Fields — Optional fields to update including Slots Count (maximum simultaneous appointments), Are Slots Unique (whether visit types share slot times), and Visit Type IDs (list of visit types bookable during this hour).

Output shape

a single updated calendar opening hour record

The output contains the updated calendar opening hour data reflecting the fields changed; other fields remain unchanged.

Examples

Example 1: Update the maximum number of simultaneous appointments and specify new visit types for a calendar opening hour.

Provide the calendarOpeningHourId, set slots_count to desired number, and supply visit_types as a JSON array of visit type IDs.

Links

Discussion