You can upload configuration files and schedule them in a campaign to devices.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier.
application/json
Device logging information.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/campaigns/files/0402196254-00001" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "60b5d639-ccdc-4db8-8824-069bd94c95bf", "accountName": "0242078689-00001", "campaignName": "FOTA_Verizon_Upgrade", "softwareName": "FOTA_Verizon_Model-A_02To03_HF", "softwareFrom": "FOTA_Verizon_Model-A_00To01_HF", "softwareTo": "FOTA_Verizon_Model-A_02To03_HF", "fileName": "configfile-Verizon_VZW1_hello-world.txt", "fileVersion": "1.0", "distributionType": "HTTP", "make": "Verizon", "model": "Model-A", "startDate": "2021-02-08", "endDate": "2021-02-08", "downloadAfterDate": "2021-02-08", "downloadTimeWindowList": [ { "startTime": "0", "endTime": "0" } ], "installAfterDate": "", "installTimeWindowList": [ { "startTime": "0", "endTime": "0" } ], "deviceList": [ "string" ], "status": "pending"}{ "errorCode": "error code string", "errorMessage": "error message string"}The campaign name.
The name of the file you are upgrading to.
The version of the file you are upgrading to.
Valid values
Campaign start date.
Campaign end date.
Specifies the starting date the client should download the package. If null, client downloads as soon as possible.
List of allowed download time windows.
The date after which you install the package. If null, install as soon as possible.
List of allowed install time windows.
Device IMEI list.