Kilometers traveled
Description
GET [API_URL]/rpt_kilometers
Obtain the entry and exit of the devices in geofences.
Call limit: 1 request every 15 seconds
Cache live time: 300 seconds
Headers
Content-Type
application/json
tenant
logicsat
Authorization
Bearer eyJhbGciOiJIUzI1NiIsInR...
Body
pagination
IPagination
devices
string[]
devices name
perperson
bool
group by person
perday
bool
group by day
subtotals
bool
add subtotal per device and total per device
groupbygeo
string
group by geographical level (state, city, neighbourhood) see ENUM GEOGRAPHICAL_LEVEL
startdate*
datetime
from (YYYY-MM-DDTHH:mm:ss)
enddate*
datetime
to (YYYY-MM-DDTHH:mm:ss)
Response
This error may indicate an internal problem in the backend as well as a problem in the input data that cannot be specified in detail. Check that all data is correct and try again, otherwise please contact us at [email protected].
This error indicates that the token was expired and need to login again.
This error indicates that the user is not allowed to access this resource.
Last updated