ClinicConfig

PATCH /clinic-config/appointment-reasons - Replace the reschedule and/or cancellation reason lists. A list left out of the body (null) is left unchanged, so a client that only knows about one list cannot wipe the other (ITE-905).

Changed on
patch/clinic-config/appointment-reasons

Request

Request body

rescheduleReasonsstring[] nullable

Reasons staff may pick when rescheduling. On read, the clinic's list or the defaults if it never set one. On write, the full list; empty means "offer no reasons"; omitted (null) leaves the clinic's list unchanged.

cancellationReasonsstring[] nullable

Reasons staff may pick when cancelling (ITE-905). Same read/write rules as List<string>? AppointmentReasonSettingsDto.RescheduleReasons — in particular, a PATCH that omits it (an older client that only knows about reschedule reasons) leaves the list unchanged.

Response

OK

rescheduleReasonsstring[] nullable

Reasons staff may pick when rescheduling. On read, the clinic's list or the defaults if it never set one. On write, the full list; empty means "offer no reasons"; omitted (null) leaves the clinic's list unchanged.

cancellationReasonsstring[] nullable

Reasons staff may pick when cancelling (ITE-905). Same read/write rules as List<string>? AppointmentReasonSettingsDto.RescheduleReasons — in particular, a PATCH that omits it (an older client that only knows about reschedule reasons) leaves the list unchanged.

Changes