Query a device profile for an individual device
thingspace_oauth vz-m2m-session_token This is where the ThingSpace token, from Getting Started is used
In: header
The VZ-M2M session token from Getting Started
In: header
application/json
body
TypeScript Definitions
Use the request body type in TypeScript.
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 } }]{ "error": "bad_request", "error_description": "The request is missing content.", "cause": "Request is missing required body content"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "forbidden", "error_description": "The data does not belong to the provided billing account.", "cause": "Requested service is forbidden"}{ "error": "internal_server_error", "error_description": "Failed to create record.", "cause": "Requested service failed due to internal error"}