Software Management Reports V2

Get a campaign device status.

GET
/fota/v2/reports/{account}/campaigns/{campaignId}/devices

The report endpoint allows user to get the full list of device of a campaign.

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.

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/v2/reports/0000123456-00001/campaigns/60b5d639-ccdc-4db8-8824-069bd94c95bf/devices"
{  "totalDevice": 1148,  "hasMoreData": true,  "lastSeenDeviceId": "15-digit IMEI",  "maxPageSize": 1000,  "deviceList": [    {      "deviceId": "15-digit IMEI",      "status": "UpgradeSuccess",      "resultReason": "DownloadInstallSucceeded"    },    {      "deviceId": "15-digit IMEI",      "status": "UpgradeSuccess",      "resultReason": "DownloadInstallSucceeded"    },    {      "deviceId": "15-digit IMEI",      "status": "UpgradeSuccess",      "resultReason": "DownloadInstallSucceeded"    }  ]}