cURL
curl --request GET \ --url https://api.decodahealth.com/appointment-dashboard/trend \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
[ { "date": "<string>", "series": [ { "mode": "appointment_volume", "locationId": "<string>", "locationName": "<string>", "scheduledCount": 123, "bookedCount": 123, "cancelledNoShowCount": 123, "newServicesCount": 123, "existingServicesCount": 123, "percentageOfNewServices": 123 } ] } ]
Get appointment count trend over the specified time period
The tenant you are making this request on behalf of
Your api key
Group by: day, week, or month
appointment_volume | new_appointments_percentage
Break down series by location
Successful Response
Show child attributes
appointment_volume
new_appointments_percentage