Sensor Insights Device Profile
Create device profile
Create a device profile
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
accountname?string
The numeric account name, which must include leading zeros
profiles?array<>
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/dm/v1/deviceConfigurationProfiles" \ -H "Content-Type: application/json" \ -d '{ "accountname": "0000123456-00001", "profiles": [ { "kind": "the kind of profile being created", "version": "1.0", "modelid": "00000000-0000-0000-0000-000000000019", "name": "Demo Entry sensor 1730928792", "configuration": { "randomInt": 21, "resportingInterval": 24 } } ] }'[ { "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 } }]
