appointments

Fix a support call with the patient

Changed on

Book a SUPPORTO call on a customer-care slot, e.g. during the call conoscitiva or the previous support call. Without a reason it is the patient's next call of the chain; a call the automatic chain already queued is booked instead of duplicated.

post/api/appointments/customer-care/support-calls

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/appointments/customer-care/support-calls
  • Auth: HTTP bearer

Request body

patient_idstring uuid required
availability_idstring uuid required

Customer-care slot fixed with the patient; its operator takes the call

reason'PRIMA_CALL' | 'SECONDA_CALL' | 'TERZA_CALL' | 'QUARTA_CALL' | 'QUINTA_CALL' | 'SESTA_CALL'

Position of a SUPPORTO call in its chain, stored in operator_call_tasks.metadata["reason"].

Response

Successful Response

idstring required
typestring required
statusstring required
patient_idstring required
assigned_operator_idstring nullable
appointment_idstring nullable
scheduled_forstring date required
agreed_forstring date-time nullable

Date/time agreed with the patient. Null means DA_CONCORDARE.

agreement_statusstring nullable

DA_CONCORDARE for SUPPORTO/EXTRA tasks

days_without_agreed_dateinteger nullable

Days since the SUPPORTO/EXTRA task has been pending without an agreed date

attempts_countinteger required
max_attemptsinteger required
reschedule_stageinteger nullable

Current stage in the FREE_RESCHEDULE interval sequence (0-based)

reasonstring nullable

PRIMA_CALL/SECONDA_CALL/TERZA_CALL/QUARTA_CALL/QUINTA_CALL/SESTA_CALL for SUPPORTO, or dropout status/path reason for EXTRA

metadataobject nullable
completed_atstring date-time nullable
closed_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes