cURL
curl --request POST \ --url https://pria.praxislxp.com/api/admin/histories/charts/weekly \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "institution": "65cfebc32f5e1b37d4e52329", "granularity": "month", "range": -3, "dimension": "count", "aggregate": false }'
{ "success": true, "data": [ { "_id": { "granularity": "2023-11-07T05:31:56Z", "institution": "<string>" }, "dimension": 123 } ] }
Retrieves chart data for administrative history tracking with configurable granularity and time range
JWT token passed in x-access-token header
Successfully retrieved chart data
The response is of type object.
object
Was this page helpful?