Premium APIsSoftware ManagementSoftware Management V3API Reference Pages V3

Synchronize Device Firmware

PUT /firmware/{accountName}/devices

This endpoint allows a user to get the reported firmware from the device management server for a particular device.

HTTP Request

PUT https://thingspace.verizon.com/api/fota/v3/firmware/{accountName}/devices

Header Parameters

The request header must contain a current ThingSpace authorization token, set the content to "JSON" and a current VZ-M2M-session token.

Parameter NameData TypeDescription
Authorization (required)stringHTTP Authorization request header containing a valid Bearer token: Authorization: Bearer {token}
VZ-M2M-Token (required)stringA valid session token returned by a Connectivity Management POST /session/login request.
Content-Type (required)stringMust be application/json.

Request Parameters

Parameter NameData TypeDescription
accountName (required)stringAccount identifier. This is numeric and in the format of 0000123456-00001. Leading zeros must be included.

Request Body

Parameter NameData TypeDescription
deviceList (required)arrayA list of IMEIs for the devices to be synchronized between ThingSpace and the FOTA server.
Example Request:
The request body identifies the devices to be synchronized with the FOTA server:
{
   "deviceList": [
       "15-digit IMEI",
       "15-digit IMEI"
   ]
}

Success Response

Status 200 A successful response is an object showing the Account ID, the Device ID and the Firmware that the device has been updated to.

{
   "accountName": "0000123456-00001",
   "deviceFirmwarVersionList": [
       {
           "deviceId": "15-digit IMEI",
           "status": "FirmwareVersionUpdateSuccess",
           "Reason": "",
           "firmwareVersion": "SR1.2.0.0-10657",
           "VersionUpdateTime": "2022-02-04 06:10:01.441 +0000 UTC"
       }
   ]
}

Success Parameters

Parameter NameData TypeDescription
accountNamestringThe account identifier.
deviceFirmwarVersionListarrayAn array of the firmware information.
deviceIdstringThe device identifier (IMEI).
statusstringFirmware sync status.
reasonstringAdditional information about the status if applicable.
firmwareVersionstringThe numeric or alpha-numeric identifier of the firmware and its version.
VersionUpdateTimestring ($date-time)The timestamp of the most recent upgrade.

Failure Responses

All error messages are returned in this format:

 {
   "errorCode": "error code string",
   "errorMessage": "error message string"
}

Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.

On this page