Sensor Insights Devices

List the device experience

POST
/dm/v1/devices/experience/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

List the device experience

List the device experience

accountname?string

The numeric account name, which must include leading zeros

filter?

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/experience/actions/query" \  -H "Content-Type: application/json" \  -d '{    "accountname": "0000123456-00001",    "filter": {      "$expand": "device detail(s)",      "$limitnumber": 100,      "$nopagination": true,      "$page": "The number of pages",      "$pagenumber": 100,      "$projection": [        "specific device fields requested"      ],      "$selection": {        "additionalProp1": "string",        "additionalProp2": "string",        "additionalProp3": "string"      }    }  }'
[  {    "billingaccountid": "0000123456-00001",    "createdon": "2023-10-02T15:46:34.562Z",    "date": "2023-10-02T15:46:34.562Z",    "devicesbad": 2,    "devicesfair": 2,    "devicesgood": 8,    "devicestotal": 12,    "foreignid": "c1f178d3-eeee-ffff-gggg-0d6b7ae6022a",    "id": "string",    "lastupdated": "2023-10-02T15:46:34.562Z",    "version": "1.0",    "versionid": "337bd2e8-eeee-ffff-gggg-5207992fd395"  }]