Schedules a file upgrade.
You can upload configuration files and schedule them in a campaign to devices.
Authorization
thingspace_oauth VZ-M2M-Token This is the ThingSpace token, from Credentials and Tokens is used
In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Path Parameters
Account identifier.
Request Body
application/json
Device logging information.
Device logging information.
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.
Response Body
application/json
application/json
curl -X POST "https://example.com/fota/v2/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": "string", "installTimeWindowList": [ { "startTime": "0", "endTime": "0" } ], "deviceList": [ "string" ], "status": "pending"}Change campaign dates and time windows PUT
This endpoint allows user to change campaign dates and time windows. Fields which need to remain unchanged should be also provided.
Schedules a software upgrade for HTTP devices. POST
Campaign time windows for downloading and installing software are available as long as the device OEM supports this.

