Change firmware campaign dates and time windows. This api is allowed before the campaign StartDate
This endpoint allows user to change campaign dates and time windows. Fields which need to remain unchanged should be also provided.
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.
Firmware upgrade information.
Request Body
application/json
New dates and time windows.
New dates and time windows.
Campaign start date.
dateCampaign end date.
dateList of allowed campaign time windows.
Response Body
application/json
application/json
curl -X PUT "https://example.com/fota/v3/campaigns/firmware/0000123456-00001/f858b8c4-2153-11ec-8c44-aeb16d1aa652/dates" \ -H "Content-Type: application/json" \ -d '{ "startDate": "2022-02-23", "endDate": "2022-02-24", "campaignTimeWindowList": [ { "startTime": 14, "endTime": 18 } ] }'{ "id": "4e03b882-936a-11ec-931f-76f56843c393", "accountName": "0000123456-00001", "campaignName": "modify-campaign-test-1", "firmwareName": "NordicSemiconductorASA_nRF9160_ee58ac77-f1fd-4960-8dc4-4d32e118a6d4_4325d595-7b69-4474-ba39-9c177930aac3", "protocol": "LWM2M", "firmwareFrom": "ee58ac77-f1fd-4960-8dc4-4d32e118a6d4", "firmwareTo": "4325d595-7b69-4474-ba39-9c177930aac3", "make": "Nordic Semiconductor ASA", "model": "nRF9160", "status": "CampaignRequestQueued", "startDate": "2022-02-23", "endDate": "2022-02-24", "campaignTimeWindowList": [ { "startTime": 14, "endTime": 18 } ]}Add or Remove devices to an existing firmware campaign. This api is allowed before the campaign StartDate PUT
This endpoint allows user to Add or Remove devices to an existing campaign.
Retrieve campaign level information GET
This endpoint allows the user to retrieve campaign level information for a specified campaign.

