SummaryMovement
GET
/api/dashboard/summary/movement
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
-
date_start string(date-time) Required
date_start
-
date_end string(date-time)
date_end
-
yard_id integer(int64)
yard_id
-
visit_type string
visit_type
Values are
TRACTOR
orVEHICLE
. -
show_other_carriers boolean
show_other_carriers
-
carrier_id integer(int64)
carrier_id
GET /api/dashboard/summary/movement
curl \
-X GET https://api-dev.gatego.io:443/api/dashboard/summary/movement?date_start=2023-05-04T09%3A42%3A00%2B00%3A00 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"entries": 42,
"exits": 42
}