A Device Profile instance resource represents a single device profile entity.
Resource Attributes
Attribute | Description |
---|---|
id | A 23 to 26 characters long string that uniquely identifies this device profile. |
accountId | The unique id of the account that created this device profile. |
name | Account wide unique, URL friendly name of the device profile. |
friendlyName | Human friendly name of the device profile. |
baseProfileId | The id of the base device profile, if any. |
description | Optional. Device profile description. |
tags | Optional. Tags associated with this device profile. |
deviceClass | Optional. The class of the devices that are generated from this profile. |
productName | Optional. The product name, if any. |
vendorName | Optional. The vendor of the device. |
imageUrl | Optional. URL for the device image. |
locked | Locked device profile cannot be deleted, modified, new sub resources (e.g. properties) cannot be added, or existing sub resources cannot be removed; but unless they are locked individually, sub resources can be modified. |
dateCreated | The date that this device profile was created in ISO 8601 format. |
dateModified | The date that this device profile entity was modified in ISO 8601 format. |
{
"id": "_dpf_587631821175935749",
"accountId": "_acc_587617399162687551",
"name": "TestDevice",
"friendlyName": "Test Device",
"description": "A new sensor device for testing",
"deviceClass": "sensor",
"vendorName": "Acme Co.",
"productName": "Prod-101",
"imageUrl": "http://s3.content.na.connio.com/images/minime.jpg",
"tags": [
"acustic",
"test"
],
"locked": false,
"dateCreated": "2017-03-21T18:39:31.924Z",
"dateModified": "2017-03-23T20:05:36.095Z"
}