DeviceType

Represents a type of the device.

Methods

Method

Authorization

Uri

Description

list

Access JSON Web Token (GetDeviceType)

GET /devicetype

Gets list of device types.
The result list is limited to device types the client has access to.

count

Access JSON Web Token (GetDeviceType)

GET /devicetype/count

Gets count of device types the client has access to.

get

Access JSON Web Token (GetDeviceType)

GET /devicetype/{id}

Gets information about device type and its devices.

insert

Access JSON Web Token (ManageDeviceType)

POST /devicetype

Creates new device type.

update

Access JSON Web Token (ManageDeviceType)

PUT /devicetype/{id}

Updates an existing device type.

delete

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.