Devices Location Subscriptions

Get a location subscription status

GET
/loc/v1/subscriptions/{accountName}

This subscriptions endpoint retrieves an account's current location subscription status.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Path Parameters

accountName*string

Account identifier in "##########-#####".

Response Body

application/json

application/json

curl -X GET "https://example.com/loc/v1/subscriptions/0000123456-00001"
{  "accountName": "2024009649-00001",  "locType": "TS-LOC-COARSE-CellID-5K",  "maxAllowance": "5000",  "purchaseTime": "2017-05-10 06:25:25.171 +0000 UTC"}