Returns information about an account's Software Management Services licenses and a list of licensed devices.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier in "##########-#####".
The zero-based number of the first record to return. Set startIndex=0 for the first request. If there are more than 1,000 devices in the response, set startIndex=1000 for the second request, 2000 for the third request, etc.
application/json
application/json
curl -X GET "https://example.com/licenses/0402196254-00001/index/0"{ "accountName": "0402196254-00001", "totalLicenses": 5000, "assignedLicenses": 4319, "hasMoreData": true, "lastSeenDeviceId": 1000, "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": "2016-11-29T15:03:36.000Z" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}