Get Customer Entity Views (getCustomerEntityViews)
Returns a page of Entity View objects assigned to customer. 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.
Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.
Path parameters
A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Query parameters
Maximum amount of entities in a one page
Sequence number of page starting from 0
Entity View Filter
Allows to filter entity views based on their type and the 'starts with' expression over their name. For example, this entity filter selects all 'Concrete Mixer' entity views which name starts with 'CAT':
{
"type": "entityViewType",
"entityViewType": "Concrete Mixer",
"entityViewNameFilter": "CAT"
}
The case insensitive 'substring' filter based on the entity view name.
Property of entity to sort by
Sort order. ASC (ASCENDING) or DESC (DESCENDING)
Response
OK
Example response
{
"data": [
{
"entityId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"name": "A4B72CCDFF33",
"type": "Temperature Sensor",
"keys": {
"timeseries": [
"temperature",
"humidity"
],
"attributes": {
"cs": [
"currentConfiguration"
],
"ss": [
"model"
],
"sh": [
"targetConfiguration"
]
}
},
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ENTITY_VIEW"
},
"createdTime": 1609459200000,
"additionalInfo": {}
}
]
}