analytics
Patients with N completed sessions in date range
Returns patients who have exactly (or at least) min_sessions completed appointments in [from_date, to_date], optionally filtered by type (psychologist / nutritionist). From patients_with_n_sessions.
get/api/analytics/patients-with-n-sessions
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/patients-with-n-sessions
- Auth: HTTP bearer
Query parameters
from_datestring date required
Start date (YYYY-MM-DD).
to_datestring date required
End date (YYYY-MM-DD).
min_sessionsinteger required
Minimum (or exact) number of completed sessions.
typestring nullable
Filter by appointment type: psychologist, nutritionist (lowercase), or omit for both.
exactboolean
If true, only patients with exactly min_sessions; if false, patients with >= min_sessions.
per_pageinteger
Page size.
pageinteger
Page number (1-based).
Response
Successful Response
Changes
No recorded changes to this operation across all 55 revisions of this API.