Request ‒ Devices/UpdateDeviceFirmware
The parameters in the request are specified as part of the HTTP Header.
Property
Type
Description
Mandatory
deviceId
String
A unique identifier that is automatically generated for this Device by IoT Platform . This is the Device to which the firmware will be loaded.
Y
FirmwareFileId
String
This is the unique identifier of the firmware file. A file id is automatically assigned by IoT Platform when a firmware file is created using the UploadFirmwareFile endpoint.
Y
Example Devices/UpdateDeviceFirmware Request
curl -X POST \
https://api.axonize.com/odata/devices/{DeviceId}/UpdateDeviceFirmware \
-H ‘Accept: application/json, text/plain, */*’ \
-H ‘Content-Type: application/json’ \
-d ‘{
“firmwareFileId”: “{FileId}”
}’