availability-legacy

Preview Availabilities Bulk

Changed on

The same expansion, counted and thrown away — what the form shows before confirming.

post/api/availabilities/bulk-preview

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/availabilities/bulk-preview
  • Auth: HTTP bearer

Request body

daysstring[] required
startsstring[] required

Slot starts on the clinic's wall clock (Europe/Rome). Which minutes a start may fall on follows the operator's role and is checked server-side.

location_type'online' | 'in_person'

Appointment location type constants.

operator_idstring nullable

Whose availability to open; admin and customer care may open another operator's

also_in_personboolean

Customer care only: online slots also offered in presenza at clinic_location_id, for a call conoscitiva. No room is taken until one is booked there.

clinic_location_idstring uuid nullable

The clinic of also_in_person slots

replace_existingboolean

Replace only the operator's free openings overlapping newly published slots. Other openings, including those held by an appointment or checkout, stay.

Response

Successful Response

plannedinteger required

Slots the plan expands to

openableinteger required

Slots that would actually be created

already_openinteger

Slots this operator already has at that exact start

conflictinginteger

Slots overlapping an existing availability or appointment

without_roominteger

in_person slots with no free room at the clinic

replacedinteger

Free openings on the plan's days deleted first (replace_existing)

Changes

    • ○

      added the new optional request property

    • ○

      added the optional property to the response with the status

    • ○

      added the new optional request property

    • ○

      added the new optional request property