Get Tenant Asset Infos (getTenantAssetInfos)
Returns a page of assets 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. Asset Info is an extension of the default Asset object that contains information about the assigned customer name.
Available for users with 'TENANT_ADMIN' authority.
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum amount of entities in a one page
Sequence number of page starting from 0
Asset type
A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
The case insensitive 'substring' filter based on the asset 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": "ASSET"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"name": "Empire State Building",
"type": "Building",
"label": "NY Building",
"assetProfileId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ASSET_PROFILE"
},
"additionalInfo": {}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.