The device endpoint gets devices information of an account.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier.
Last seen device identifier.
Filter distributionType to get specific type of devices. Values is LWM2M, OMD-DM or HTTP.
application/json
application/json
curl -X GET "https://example.com/devices/0000123456-00001?lastSeenDeviceId=15-digit+IMEI&distributionType=HTTP"{ "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" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}