Get a cycles vs in use time report
get the cycles vs time in use report data by booth for the filters given
GET
/api/reports/cycles_utilization
curl \
--request GET 'http://localhost:4000/api/reports/cycles_utilization?period_type=monthly&period_start=string' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"booth_id": "a2d136b7-8940-44ed-ba34-500263fb4871",
"region_id": "1763a59a-83f6-46f2-8347-8cb48c83c3be",
"account_id": "a0d52533-5a8b-4f30-89fa-54be1c45cf70",
"booth_name": "Booth 1",
"updated_at": "2025-09-09 23:38:03",
"cycle_count": 1,
"facility_id": "1a309ee7-d332-4af5-bae8-c209e1e576ae",
"inserted_at": "2025-09-09 23:38:03",
"period_type": "monthly",
"region_name": "Test Region",
"account_name": "Test Account",
"period_start": "2025-08-01",
"facility_name": "Test Facility 2",
"in_use_time_minutes": 93
}
Response examples (200)
{
"booth_id": "a2d136b7-8940-44ed-ba34-500263fb4871",
"region_id": "1763a59a-83f6-46f2-8347-8cb48c83c3be",
"account_id": "a0d52533-5a8b-4f30-89fa-54be1c45cf70",
"booth_name": "Booth 1",
"updated_at": "2025-09-09 23:38:03",
"cycle_count": 1,
"facility_id": "1a309ee7-d332-4af5-bae8-c209e1e576ae",
"inserted_at": "2025-09-09 23:38:03",
"period_type": "monthly",
"region_name": "Test Region",
"account_name": "Test Account",
"period_start": "2025-08-01",
"facility_name": "Test Facility 2",
"in_use_time_minutes": 93
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (400)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}
Response examples (401)
{
"error": "Error Reason"
}