Software Management Reports V2

Get account devices information

GET
/fota/v2/devices/{account}

The device endpoint gets devices information of an account.

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.

distributionType?string

Filter distributionType to get specific type of devices. Values is LWM2M, OMD-DM or HTTP.

Response Body

application/json

application/json

curl -X GET "https://example.com/fota/v2/devices/0000123456-00001"
{  "accountName": "0000123456-00001",  "hasMoreData": true,  "lastSeenDeviceId": "15-digit IMEI",  "maxPageSize": 1000,  "deviceList": [    {      "deviceId": "15-digit IMEI",      "mdn": "10-digit MDN",      "model": "Model-A",      "make": "Verizon",      "fotaEligible": true,      "appFotaEligible": true,      "licenseAssigned": true,      "distributionType": "HTTP",      "softwareList": [        {          "name": "FOTA_Verizon_Model-A_02To03_HF",          "version": "3",          "upgradeTime": "2020-09-08T19:00:51.541Z"        }      ],      "createTime": "2021-06-03 00:03:56.079 +0000 UTC",      "upgradeTime": "2021-06-03 00:03:56.079 +0000 UTC",      "updateTime": "2021-06-03 00:03:56.079 +0000 UTC",      "refreshTime": "2021-06-03 00:03:56.079 +0000 UTC"    },    {      "deviceId": "15-digit IMEI",      "mdn": "10-digit MDN",      "model": "Model-A",      "make": "Verizon",      "fotaEligible": true,      "appFotaEligible": true,      "licenseAssigned": true,      "distributionType": "HTTP",      "softwareList": [        {          "name": "FOTA_Verizon_Model-A_02To03_HF",          "version": "3",          "upgradeTime": "2020-09-08T19:00:51.541Z"        }      ],      "createTime": "2021-06-03 00:03:56.079 +0000 UTC",      "upgradeTime": "2021-06-03 00:03:56.079 +0000 UTC",      "updateTime": "2021-06-03 00:03:56.079 +0000 UTC",      "refreshTime": "2021-06-03 00:03:56.079 +0000 UTC"    },    {      "deviceId": "15-digit IMEI",      "mdn": "10-digit MDN",      "model": "Model-A",      "make": "Verizon",      "fotaEligible": true,      "appFotaEligible": true,      "licenseAssigned": true,      "distributionType": "HTTP",      "softwareList": [        {          "name": "FOTA_Verizon_Model-A_02To03_HF",          "version": "3",          "upgradeTime": "2020-09-08T19:00:51.541Z"        }      ],      "createTime": "2021-06-03 00:03:56.079 +0000 UTC",      "upgradeTime": "2021-06-03 00:03:56.079 +0000 UTC",      "updateTime": "2021-06-03 00:03:56.079 +0000 UTC",      "refreshTime": "2021-06-03 00:03:56.079 +0000 UTC"    }  ]}