Movement Tracking Service
IOT Device

Register Iot Device

1min
POST
http://{base_url}/core/api/v1/mts/devices/{deviceId}/onboard

This endpoint can be used by any source that needs to send data to MTS via the AWS-IoT MQTT broker. The API accepts a deviceId. This hardware ID needs to be unique for every device. In the case of FE mobile apps, the IMEI number of the device is to be used to make the call.

Path Parameters
deviceId
*
Header Parameters
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-REQUEST-ID
*
X-COREOS-USERINFO
Responses
200
OK - The request succeeded.
request
error
data
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
error
*
request
*
data
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.
error
*
request
*
data
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
error
*
request
*
data
Curl
JS
Ruby
Python
Responses
200
400
401
503