Represents a type of the device.
Methods
Method | Authorization | Uri | Description |
---|---|---|---|
Access JSON Web Token (GetDeviceType) | GET /devicetype | Gets list of device types. | |
Access JSON Web Token (GetDeviceType) | GET /devicetype/count | Gets count of device types the client has access to. | |
Access JSON Web Token (GetDeviceType) | GET /devicetype/{id} | Gets information about device type and its devices. | |
Access JSON Web Token (ManageDeviceType) | POST /devicetype | Creates new device type. | |
Access JSON Web Token (ManageDeviceType) | PUT /devicetype/{id} | Updates an existing device type. | |
Access JSON Web Token (ManageDeviceType) | DELETE /devicetype/{id} | Deletes an existing device type. |
Resource Representation
{
"id": {integer},
"name": {string},
"description": {string}
}
Property Name | Type | Description |
---|---|---|
id | integer | Device type identifier. |
name | string | Device type name. |
description | string | Device type description. |
Updated 3 years ago