Sensor Insights Device Profile

Query device profile

POST
/dm/v1/deviceConfigurationProfiles/actions/query

Query a device profile for an individual device

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

body

body

filter?

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/dm/v1/deviceConfigurationProfiles/actions/query" \  -H "Content-Type: application/json" \  -d '{    "filter": {      "$selection": {        "modelid": "00000000-0000-0000-0000-000000000019"      },      "$querytotalcount": true    }  }'
[  {    "id": "cb4169ec-eeee-ffff-gggg-d2951060421a",    "kind": "the kind of profile being created",    "version": "1.0",    "versionid": "15bd78a1-eeee-ffff-gggg-86daa842009b",    "createdon": "2023-10-02T15:46:34.562Z",    "lastupdated": "2023-10-02T15:46:34.562Z",    "name": "Demo Entry sensor 1730928792",    "foreignid": "c1f178d3-eeee-ffff-gggg-0d6b7ae6022a",    "billingaccountid": "0000123456-00001",    "modelid": "00000000-0000-0000-0000-000000000019",    "configuration": {      "randomInt": 21,      "resportingInterval": 24    }  }]