Summary of accounts and booths
retrieves a summary of the entities in the system for all accounts if requested by a customer admin, or for the user's account, if requested by a customer admin, as well as of the number of booths in the system, including the number of booths assigned, unassigned, online and active
GET
/api/accounts/entities_summary
curl \
--request GET 'http://localhost:4000/api/accounts/entities_summary' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"active": 42.0,
"assigned": 42.0,
"customers": 42.0,
"distributors": 42.0,
"facilities": 42.0,
"online": 42.0,
"unassigned": 42.0,
"users": 42.0
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}