Locations
This api is used to get the locations of connected devices from WorkorderApp or post locations for certain identifiers. An identifier can be anything, for example employee nr or license plate. When posting a location the type should be specified. Post data should contain an array with objects containing the following parameters:
lat
Latitude
long
Longitude
identifier
Unique identifier, for example employee number or license plate.
type
0 for employee, 1 for car
{{client_token}}{{software_token}}Response_200
No content
GET /locations/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
No content
This api is used to get the locations of connected devices from WorkorderApp or post locations for certain identifiers. An identifier can be anything, for example employee nr or license plate. When posting a location the type should be specified. Post data should contain an array with objects containing the following parameters:
lat
Latitude
long
Longitude
identifier
Unique identifier, for example employee number or license plate.
type
0 for employee, 1 for car
{{client_token}}{{software_token}}Response_200
No content
POST /locations/ HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Response_200
No content
Last updated
Was this helpful?
