analytics

Returns per signup_reason: total users, users with CALL_CONOSCITIVA FATTO/DA_FARE, comparative stats, reason-to-patients map, and pie chart data. Optional filter by patient registration date range.

get/api/analytics/signup-reason

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/analytics/signup-reason
  • Auth: HTTP bearer

Query parameters

from_datestring date nullable

Start date for patient registration filter (YYYY-MM-DD). If both from_date/to_date are set, only patients created in range are included.

to_datestring date nullable

End date for patient registration filter (YYYY-MM-DD).

Response

Successful Response

reason_to_patientsobject required

Map signup_reason -> { patients_with_call, patients_without_call }

distinct_signup_reasonsstring[] required

List of distinct signup reasons (ordered by total_users desc)

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status