Get Tenant Device Infos (getTenantDeviceInfos)
Returns a page of devices info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. Device Info is an extension of the default Device object that contains information about the assigned customer name and device profile name.
Available for users with 'TENANT_ADMIN' authority.
Query parameters
Maximum amount of entities in a one page
Sequence number of page starting from 0
Device type as the name of the device profile
A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
A boolean value representing the device active flag.
The case insensitive 'substring' filter based on the device name.
Property of entity to sort by
Sort order. ASC (ASCENDING) or DESC (DESCENDING)
Response
OK
Example response
{
"data": [
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"name": "A4B72CCDFF33",
"type": "Temperature Sensor",
"label": "Room 234 Sensor",
"deviceProfileId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE_PROFILE"
},
"firmwareId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "OTA_PACKAGE"
},
"softwareId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "OTA_PACKAGE"
},
"additionalInfo": {}
}
]
}