Skip to main content
GET
New patients

Authorizations

Authorization
string
header
required

JWT returned by POST /auth/token. Valid for six hours.

Path Parameters

location_id
string
required

The ID of the location for which patients are to be retrieved.

Example:

"58"

Query Parameters

date
string<date>
required

The reference date representing when the first treatment was performed.

Example:

"2023-03-01"

duration
integer

The time period (in days) to look up data within, starting from the given date.

Example:

90

q
object

Response

Successful response

patients
number
attended_production
number
total
number
30_days_production
number