Premium APIsThingSpace IntelligenceWireless Network PerformanceAPI Reference

Device Experience - Bulk Latest

POST /v1/intelligence/device-experience/bulk/latest

Run a report to view the latest device experience score for specific devices.

HTTP Request

POST https://thingspace.verizon.com/api/m2m/v1/intelligence/device-experience/bulk/latest

Header Parameters

The request header must set the content-type to JSON, contain a current ThingSpace authorization token and a current VZ-M2M session token. For more details on how to get these tokens, visit Getting Started.

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 Body

{
  "accountName": "0000123456-00001",
  "deviceList":[
      {
         "id":"10-digit MDN",
         "kind":"mdn"
      },
      {
         "id":"20-digit ICCID",
         "kind":"iccId"
      },
      {
         "id":"15-digit IMEI",
         "kind":"imei"
      },
      {
         "id":"20-digit ICCID",
         "kind":"iccId"
      },
      {
         "id":"32-digit EID",
         "kind":"eid"
      }
   ]
}

Request Body Parameters

All parameters are required unless marked optional .

ParameterData TypeDescription
accountNamestringThe numeric name of the account, including leading zeros.
deviceListobjectA list of individual device identifiers to query.
idstringThe numeric value of the device ID type.
kindstringThe type of device ID represented by the ID value. Only the following are supported by the request and two values must be present:
iccid - integrated circuit card ID (SIM card)
eid - electronic ID, a 32-digit unique ID of the device
imei - International Mobile Equipment Identifier
mdn - Mobile Directory Number (a 10-digit phone number)

Success Responses

Status 200

A successful response shows a system generated request ID to track the request.

Example Response:

{
  "requestId": "d1f08526-eeee-ffff-gggg-4456490ea9f8"
}

Callback Response

These endpoints send responses asynchronously. In order to read the results a callback is required. To learn more about callbacks, please visit About Callback Services. The callback service to subscribe to is IntelligenceService.

Example callback response:

{
  "username" : "the user's login information",
  "password" : "the user's password",
  "requestId": "d1f08526-eeee-ffff-gggg-4456490ea9f8",
  "intelligenceResponse": {
    "deviceExperienceScoreBulk": {
      "deviceExperienceScores": [
        {
          "device": [
            {
              "id": "20-digit ICCID",
              "kind": "ICCID"
            }
          ],
          "date": "2022-07-06",
          "averageScore": "50",
          "status" : "SUCCESS",
          "reason" : "Device Data Found"
         },
        {
          "device": [
            {
              "id": "10-digit phone number",
              "kind": "MDN"
            }
          ],
          "date": "2022-07-06",
          "averageScore": "50",
          "status" : "SUCCESS",
          "reason" : "Device Data Found"
         }
      ]
    }
  },
  "status": "SUCCESS",
  "callbackCount": 1,
  "maxCallbackThreshold": 4
}

Callback Parameters

ParameterData TypeDescription
usernamestringThe user's login information.
passwordobjectThe user's password.
requestIdstringThe requestId being viewed. This is a system generated value from the request above.
intelligenceResponseobjectContains the response details of the request.
deviceExperienceScoreBulkobjectContains the details of network service history.
devicearrayDevice identifier objects responding to the query.
idstringThe numeric value of the device ID type.
kindstringThe type of device ID represented by the ID value:
ICCID - integrated circuit card ID (SIM card)
EID - electronic ID, a 32-digit unique ID of the device
IMEI - International Mobile Equipment Identifier
MDN - Mobile Directory Number (a 10-digit phone number)
scoresarrayA list of date and score objects for the 30 day period queried.
datestringYear, month and day of the 24-hour period recorded.
averageScorestringA score assigned, out of 100, for that 24-hour period.
statusstringStatus of the device's reply. This will be either: SUCCESS or FAILED .
reasonstringAdditional information about the status.
statusstringThe status of the intelligenceResponse.
callbackCountstringThe number of responses for intelligenceResponse found.
maxCallbackThresholdstringThe maximum number of responses for intelligenceResponse allowed.

Failure Responses

All error messages are returned in this format:

{
  "errorCode": "The 3-digit HTML error code",
  "errorMessage": "string"
}

On this page