Software Management Reports V3

Get a campaign device status

GET
/fota/v3/reports/{acc}/campaigns/{campaignId}/devices

Retrieve a list of all devices in a campaign and the status of each device.

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

acc*string

Account identifier.

campaignId*string

Campaign identifier.

Query Parameters

lastSeenDeviceId?string

Last seen device identifier.

Response Body

application/json

application/json

curl -X GET "https://example.com/fota/v3/reports/0000123456-00001/campaigns/f858b8c4-2153-11ec-8c44-aeb16d1aa652/devices"
{  "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"    }  ]}