Software Management Subscriptions V1

Get account subscription status

GET
/fota/v1/subscriptions/{account}

This subscriptions endpoint retrieves an account's current Software Management Service 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

account*string

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

Response Body

application/json

application/json

curl -X GET "https://example.com/fota/v1/subscriptions/0402196254-00001"
{  "accountName": "0402196254-00001",  "purchaseType": "TS-HFOTA-EVNT,TS-HFOTA-MRC",  "licenseCount": 9000,  "licenseUsedCount": 1000,  "updateTime": "2018-03-02T16:03:06.000Z"}