SummaryYard
Headers
-
Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)
Query parameters
-
yard_id integer(int64)
yard_id
-
show_other_carriers boolean
show_other_carriers
-
carrier_id integer(int64)
carrier_id
GET
/api/dashboard/summary/yard
curl \
-X GET http://localhost:8080/api/dashboard/summary/yard
Response examples (200)
{
"yards": [
{
"max_capacity": 42,
"other_carriers_count": 42,
"place_id": "string",
"spots_available": 42,
"usage_percent": 42,
"yard_address": "string",
"yard_capacity_mode": "FILTERED_CARRIERS",
"yard_id": 42,
"yard_name": "string"
}
]
}