Get a List of Available Software

GET /software/{acc}

Allows you to retrieve a list of available software for your account.

Request Components

HTTP Request

GET https://thingspace.verizon.com/api/fota/v2/software/{acc}

Resource Path and Query Parameters

Parameter Name Data Type Description
acc
required
string Account identifier.
distributionType
(query)
string Filter to retrieve only a specific type of software. Valid values include:
  • LWM2M
  • OMD-DM
  • HTTP

Header Parameters

The request header must contain a current ThingSpace authorization token and a current VZ-M2M-session token.

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization request header containing a valid Bearer token.
VZ-M2M-Token
required
string A valid session token returned by a Connectivity Management POST /session/login request.

Request Body

None

Example Request

Request a list of available software for your account.

curl https://thingspace.verizon.com/api/fota/v2/software/0402196254-00001  -H 'Authorization: Bearer $AUTH_TOKEN' -H 'VZ-M2M-Token: $M2M_TOKEN'

Success Responses

Status 200

Parameter Name Data Type Description
softwareName string The software name.
launchDate string($date) The software launch date.
releaseNote string Software release note reserved for future use.
model string Software device model.
make string Software device make.
distributionType string The distribution type. Valid values include:
  • LWM2M
  • OMD-DM
  • HTTP
devicePlatformId string The platform (Android, iOS, IoT, for example) that the software can be applied to.

Example Success Response

An array of software for your account is returned in the response.

[  
  {  
    "software":"FOTA_Verizon_Model-A_02To03_HF",
    "launchDate":"2020-08-31 00:00:00 +0000 UTC",
    "releaseNote":"",
    "model":"Model-A",
    "make":"Verizon",
    "distributionType":"HTTP",
    "devicePlatformId": "IoT"
  }
]

Failure Responses

Status 400

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.