Campaign time windows for downloading and installing software are available as long as the device OEM supports this.
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/software/0402196254-00001" \ -H "Content-Type: application/json" \ -d '{ "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", "distributionType": "HTTP", "startDate": "2020-08-21", "endDate": "2020-08-22", "downloadAfterDate": "2020-08-21", "downloadTimeWindowList": [ { "startTime": 20, "endTime": 21 } ], "installAfterDate": "2020-08-21", "installTimeWindowList": [ { "startTime": 22, "endTime": 23 } ], "deviceList": [ "990013907835573", "990013907884259" ] }'{ "id": "60b5d639-ccdc-4db8-8824-069bd94c95bf", "accountName": "0402196254-00001", "campaignName": "FOTA_Verizon_Upgrade", "softwareName": "FOTA_Verizon_Model-A_02To03_HF", "distributionType": "HTTP", "make": "Verizon", "model": "Model-A", "softwareFrom": "FOTA_Verizon_Model-A_00To01_HF", "softwareTo": "FOTA_Verizon_Model-A_02To03_HF", "startDate": "2020-08-21", "endDate": "2020-08-22", "downloadAfterDate": "2020-08-21", "downloadTimeWindowList": [ { "startTime": 20, "endTime": 21 } ], "installAfterDate": "2020-08-21", "installTimeWindowList": [ { "startTime": 22, "endTime": 23 } ], "status": "CampaignRequestPending"}{ "errorCode": "error code string", "errorMessage": "error message string"}The campaign name.
Software name.
Old software name.
New software name.
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.