Stop Diagnostics Observation

Stop Diagnostics Observation:
DELETE /devices/attributes/actions/observe

Stop existing Diagnostics observation of IOT devices.

Contents

Uses and Requirements

You can cancel existing diagnostic reporting. A list of devices must be specified along with the specific RF attributes for which you want diagnostic observation to be stopped.

Request Components

HTTP Request

DELETE https://thingspace.verizon.com/api/diagnostics/v1/devices/attributes/actions/observe

Resource Path and Query Parameters

None.

Header Parameters

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

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization bearer token.
VZ-M2M-Token
required
string A valid session token returned by POST /api/m2m/v1/session/login.
Content-Type
required
string Must be application/json.

Request Body

Parameter Name Data Type Description
transactionID
required
string The transaction ID of the diagnostics service that you want to cancel.
accountName
required
string The name of the account for which you want start running Diagnostic Services. An account name is usually numeric, and must include any leading zeros.
devices
required
array of objects The devices on which you want to stop running diagnostics.
devices.id
required
string a device identifier value
devices.kind
required
string type of serial number
  • IMEI
  • ESN
  • MEID
attributes
required
array of objects The RF parameters that you want to stop observing.
attributes.name
required
string examples:
  • RADIO_SIGNAL_STRENGTH
  • LINK_QUALITY
  • NETWORK_BEARER
  • CELL_ID

Example Request Body

{
  "transactionID": "5f4bd2ff-5d7f-444d-af17-3f6a80bb2a94",
  "accountName": "TestQAAccount",
  "devices": [
    {
      "id": "864508030026238",
      "kind": "IMEI"
    }
  ],
  "attributes": [
      {
    "name": "RADIO_SIGNAL_STRENGTH"
      },
      {
    "name": "LINK_QUALITY"
     },
     {
    "name":"NETWORK_BEARER"
     },
    {
    "name":"CELL_ID"
    }
  ],
}

Success Responses

Status 200 A success response contains the current status of the report.

Parameter Name Data Type Description
createdOn string($date-time) The date and time of when this request was created.
transactionID string The transaction ID of the diagnostics service that you want to cancel.
status string Status of the request.

Example Success Response

{
    "createdOn": "2019-09-10T19:05:33.330579352Z",
    "transactionID": "9c7bb124-11f5-4ff3-8a88-0eec1ba99205",
    "status": "CANCEL_OBSERVE_PENDING"
}

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 Codes page, along with explanations and suggestions for corrective actions.

Try It Out!