Device Monitoring

Register for notification reports based on the request type.

POST
/m2m/v1/diagnostics/basic/devicereachability

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Request Body

application/json

Create Reachability Report Request

Create Reachability Report Request

accountName*string
requestType*string
devices*array<>
monitorExpirationTime*string

Response Body

application/json

application/json

curl -X POST "https://example.com/m2m/v1/diagnostics/basic/devicereachability" \  -H "Content-Type: application/json" \  -d '{    "accountName": "0000123456-00001",    "requestType": "REACHABLE_FOR_DATA",    "devices": [      {        "deviceIds": [          {            "id": "20-digit ICCID",            "kind": "iccid"          },          {            "id": "20-digit ICCID",            "kind": "iccid"          }        ]      }    ],    "monitorExpirationTime": "2019-12-02T15:00:00-08:00Z"  }'
{  "requestId": "595f5c44-eeee-ffff-gggg-020a1545a84d"}