Retrieve a list of all devices in a campaign and the status of each device.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier.
Campaign identifier.
Last seen device identifier.
application/json
application/json
curl -X GET "https://example.com/reports/0000123456-00001/campaigns/f858b8c4-2153-11ec-8c44-aeb16d1aa652/devices?lastSeenDeviceId=15-digit+IMEI"{ "totalDevice": 2689, "hasMoreData": true, "lastSeenDeviceId": "15-digit IMEI", "maxPageSize": 1000, "deviceList": [ { "deviceId": "15-digit IMEI", "status": "UpgradePending", "resultReason": "Upgrade pending, the device upgrade is estimated to be scheduled for 06 Oct 22 18:05 UTC", "updatedTime": "2022-08-05T21:05:27.129Z", "recentAttemptTime": "2022-10-05T21:05:01.19Z", "nextAttemptTime": "2022-10-06T18:35:00Z" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}