Sensor Insights Sensors

Get a sensor's offboarding status

POST
/dm/v1/devices/sensors/offboard/status/actions/query

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

Get a sensor's offboarding status

Get a sensor's offboarding status

accountname?string

The numeric account name, which must include leading zeros

gatewayidentifier?
offboarding?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/dm/v1/devices/sensors/offboard/status/actions/query" \  -H "Content-Type: application/json" \  -d '{    "accountname": "0000123456-00001",    "gatewayidentifier": {      "deviceid": "UUID of the Gateway device"    },    "offboarding": {      "sensoridentifiers": {        "deveui": "The unique EUI64 address of the device"      }    }  }'
{  "events": [    {      "createdon": "2023-10-02T15:46:34.562Z",      "errmsg": "provider_service_error",      "fields": {        "additionalProp1": "string",        "additionalProp2": "string",        "additionalProp3": "string"      },      "state": "success",      "transactionid": "afbcc00d-eeee-ffff-gggg-38b4333fcf06"    }  ],  "isstillregistered": true}