Movement Tracking Service
MTS Subscription

Creates Subscription

1min
POST
http://{base_url}/core/api/v1/mts/pubsub/devices/{deviceId}/subscription
This endpoint is used to add a new subscription configuration to the cassandra table.
Path Parameters
deviceId
*
Header Parameters
X-COREOS-TID
*
X-COREOS-ACCESS
*
X-COREOS-REQUEST-ID
*
X-COREOS-USERINFO
Body Parameters
body
*
Description
Topic subscription config payload.
All Of
BasicAttributes +
interval
expiry
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