Schedules a firmware upgrade for devices.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Details of the firmware upgrade request.
TypeScript Definitions
Use the request body type in TypeScript.
Details of the firmware upgrade request.
application/json
application/json
curl -X POST "https://example.com/upgrades" \ -H "Content-Type: application/json" \ -d '{ "accountName": "0402196254-00001", "firmwareName": "FOTA_Verizon_Model-A_01To02_HF", "firmwareTo": "VerizonFirmwareVersion-02", "startDate": "2018-04-01", "endDate": "2018-04-05", "deviceList": [ "990003425730535", "990000473475989" ] }'{ "id": "e3a8d88a-04c6-4ef3-b039-89b62f91e962", "accountName": "0242078689-00001", "firmwareName": "FOTA_Verizon_Model-A_01To02_HF", "firmwareTo": "VerizonFirmwareVersion-02", "startDate": "2018-04-01", "status": "RequestPending", "deviceList": [ { "deviceId": "990003425730535", "status": "RequestPending" }, { "deviceId": "990000473475989", "status": "RequestPending" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}Account identifier in "##########-#####".
The name of the firmware image that will be used for the upgrade, from a GET /firmware response.
The name of the firmware version that will be on the devices after a successful upgrade.
The date that the upgrade begins.
dateThe date that the upgrade ends.
dateThe IMEIs of the devices.