Software Management Licenses V2

Summarize FOTA licenses assignment

GET
/fota/v2/licenses/{account}

The endpoint allows user to list license usage.

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.

Query Parameters

lastSeenDeviceId?string

Last seen device identifier.

Response Body

application/json

application/json

curl -X GET "https://example.com/fota/v2/licenses/0000123456-00001"
{  "accountName": "0402196254-00001",  "totalLicense": 5000,  "assignedLicenses": 4319,  "hasMoreData": true,  "lastSeenDeviceId": "1000",  "maxPageSize": 10,  "deviceList": [    {      "deviceId": "990003425730535",      "assignmentTime": "2017-11-29T16:03:42.000Z"    },    {      "deviceId": "990000473475989",      "assignmentTime": "2017-11-29T16:03:42.000Z"    },    {      "deviceId": "990000347475989",      "assignmentTime": "2017-11-29T16:03:42.000Z"    },    {      "deviceId": "990007303425535",      "assignmentTime": "2017-11-29T16:03:42.000Z"    }  ]}