devicetype/count

Gets count of device types the client has access to.

Request Message

Authorization

Access JSON Web Token (GetDeviceType)

Message Representation

{
    "action": {string},
    "requestId": {object},
    "name": {string},
    "namePattern": {string}
}

Message Parameters

Property nameRequiredTypeDescription
actionYesstringAction name: devicetype/count
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
nameNostringFilter by device type name.
namePatternNostringFilter by device type name pattern. In pattern wildcards '%' and '_' can be used.

Server Message

Message Representation

{
    "action": {string},
    "requestId": {object},
    "status": {string},
    "count": {integer}
}

Message Parameters

Property NameTypeDescription
actionstringAction name: devicetype/count
requestIdobjectRequest unique identifier as specified in the request message.
statusstringOperation execution status (success or error).
countintegerNumber of device types that match the filters.