analytics

Status transitions in a period

Changed on

Returns status transitions (PSICOLOGO/NUTRIZIONISTA) aggregated by month from analytics_transitions. Coordinator sees only their supervisors' data.

get/api/analytics/overview/transitions

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/overview/transitions
  • Auth: HTTP bearer

Query parameters

from_datestring date required

Start date (YYYY-MM-DD).

to_datestring date required

End date (YYYY-MM-DD).

Response

Successful Response

Example response

{
  "items": [
    {
      "from_status": "attivo_general",
      "month_end": "2025-01-31",
      "month_start": "2025-01-01",
      "path_type": "PSICOLOGO",
      "patients_count": 2,
      "patients_detail": [
        {
          "email": "m@example.com",
          "first_name": "Mario",
          "last_name": "Rossi",
          "patient_id": "..."
        }
      ],
      "to_status": "abbandono_psi"
    }
  ]
}

Changes

    • warning

      added the new NUTRIZIONISTA enum value to the // response property for the response status

    • warning

      added the new PSICOLOGO enum value to the // response property for the response status