appointments

Get today's customer-care calls

Changed on

Return a paginated customer-care call queue with complete filter facets and per-type counts. When patient_id is set, return that patient's call history regardless of day, unless filter_patient_by_day is true.

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

Query parameters

operator_idstring uuid nullable

Filter by customer-care operator ID. Without it admin sees every operator, customer care its own.

all_operatorsboolean

Customer care: every customer-care operator's calls rather than its own.

patient_idstring uuid nullable

Filter to a single patient's calls. Returns full history unless filter_patient_by_day is true.

daystring date nullable

Day to inspect (YYYY-MM-DD). Defaults to today; ignored for patient history unless filter_patient_by_day is true.

filter_patient_by_dayboolean

Apply the day filter even when a patient is selected.

call_filter'ALL' | 'AGREED' | 'SUPPORT' | 'EXTRA' | 'FREE_RESCHEDULE'

Mutually exclusive filters exposed by the customer-care call queue.

Queue filter: ALL, AGREED, SUPPORT, EXTRA, or FREE_RESCHEDULE.

call_type'CALL_CONOSCITIVA' | 'CALL_GRATUITA' | 'SUPPORTO' | 'EXTRA' | 'FREE_RESCHEDULE'

Appointment and task types exposed by the customer-care summary cards.

Filter by the summary card's call type, before pagination.

pageinteger

One-based page number.

page_sizeinteger

Items per page.

Response

Successful Response

totalinteger required
unfiltered_totalinteger

Total before call_filter and call_type are applied; useful for the ALL preview.

daystring date nullable
pageinteger
page_sizeinteger
total_pagesinteger
call_filter'ALL' | 'AGREED' | 'SUPPORT' | 'EXTRA' | 'FREE_RESCHEDULE'

Mutually exclusive filters exposed by the customer-care call queue.

call_type'CALL_CONOSCITIVA' | 'CALL_GRATUITA' | 'SUPPORTO' | 'EXTRA' | 'FREE_RESCHEDULE'

Appointment and task types exposed by the customer-care summary cards.

counts_by_typeobject

Complete counts by raw call type, before call_filter and call_type are applied.

completedinteger
pendinginteger
to_dointeger
to_rescheduleinteger
no_answerinteger
cancelledinteger

Changes