appointment-types

ViewSet for AppointmentType CRUD and appointment-type event actions.

put/appointment-types/{id}/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Path parameters

idstring required

Headers

X-Organization-Idstring

Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.

Request body

idinteger required
namestring required
descriptionstring
durationstring
accepts_public_schedulingboolean
public_booking_slugstring required

Opaque, unguessable identifier used to address this appointment type on the unauthenticated codeless booking route, instead of the integer primary key. Uniqueness is GLOBAL (not scoped to organization) because that route carries no organization in its path -- the slug alone must identify exactly one appointment type system-wide. Authorizes nothing by itself: accepts_public_scheduling still gates codeless booking, and an appointment type later flipped to public already has its identifier.

createdstring date-time required
modifiedstring date-time required

Response

idinteger required
namestring required
descriptionstring
durationstring
accepts_public_schedulingboolean
public_booking_slugstring required

Opaque, unguessable identifier used to address this appointment type on the unauthenticated codeless booking route, instead of the integer primary key. Uniqueness is GLOBAL (not scoped to organization) because that route carries no organization in its path -- the slug alone must identify exactly one appointment type system-wide. Authorizes nothing by itself: accepts_public_scheduling still gates codeless booking, and an appointment type later flipped to public already has its identifier.

createdstring date-time required
modifiedstring date-time required

Changes