API / Capacity

Capacity endpoint enables you to get information of today's capacity. Endpoint's URL is:

https://<your_environment_url>/customer-api/1.0/capacity/



GET

When calling /capacity/ endpoint without parameters you will get information on what is the total capacity situation today. Example response:


{
"count": 1,
"csvUrl": "/customer-api/1.0/capacity/?user.id=1&csv=true",
"itemsPerPage": 500,
"excelUrl": "/customer-api/1.0/capacity/?user.id=1&excel=true",
"next": null,
"current": 1,
"lastPage": 1,
"data": [
{
"user_id": 1,
"node_id": 12,
"role_id": 1,
"entry_date": "2020-09-15",
"capacity": "8.00"
}
],
"previous": null
}