get
Gets information about device type and its devices.
Request
HTTP Request
GET /devicetype/{id}
Parameters
Parameter Name | Required | Type | Description |
---|---|---|---|
id | Yes | integer | Device type identifier. |
Authorization
Access JSON Web Token (GetDeviceType)
Request Body
Do not supply a request body with this method.
Response
If successful, this method returns a DeviceType resource with the list of Devices in the response body.
Property Name | Type | Description |
---|---|---|
id | integer | Device type identifier. |
name | string | Device type name. |
description | string | Device type description. |
device | object | The Device resource. |
device.id | string | Device unique identifier. |
device.name | string | Device display name. |
device.data | object | Device data, a JSON object with an arbitrary structure. |
device.networkId | integer | Associated network id. |
device.deviceTypeId | integer | Associated device type id. |
device.isBlocked | boolean | Indicates whether device is blocked. |
Updated almost 7 years ago