Movement Tracking Service
Trace Data
GET Trace Data
1min
GET
http://{base_url}/core/api/v1/mts/devices/{deviceId}/apps/{app}/trace
PATH PARAMETERS
app
string
*deviceId
string
*Returns all trace data of provided deviceId.
HEADER PARAMETERS
X-COREOS-TID
string
*Tenant ID.
X-COREOS-ACCESS
string
*Access token.
X-COREOS-REQUEST-ID
string
*Unique Request ID.
X-COREOS-USERINFO
string
User info.
QUERY PARAMETERS
start
integer
Start time in epoch milliseconds.
duration
string
Example: 2hour -> 2h, 1day -> 1d, 50seconds -> 50s
Time for which data packets need to be fetched. Regex pattern - ^(\d{0,2}(?
\s*))?(\d{0,2}(?\s*))?(\d{0,2}(?\s*))?(\d{0,2}(?\s*))?$id
string
Used to filter for a specific dispatchId.
limit
integer
Number of items to return.
nextPage
string
scrollId that returns the values for next page of results
offset
string
Number of items to skip from start.
RESPONSES
200
OK - The request succeeded.
object
request
Request
error
Error
Error Information
data
GETTraceResponse[]
meta
object
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct Tenant and that your client ID and client secret are valid on that Tenant.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID
404
Not found - The server can not find the requested resource.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
ErrorResponse
error
Error
*Error Information
request
Request
*data
ID


Updated 10 Nov 2023
Did this page help you?