device/count

Gets count of devices.

Request Message

Authorization

Access JSON Web Token (GetDevice)

Message Representation

{
    "action": {string},
    "requestId": {object},
    "name": {string},
    "namePattern": {string},
    "networkId": {long},
    "networkName": {string}
}

Message Parameters

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

Server Message

Message Representation

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

Message Parameters

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