asset-profile-controller
Get Asset Profile (getAssetProfileById)
Fetch the Asset Profile object based on the provided Asset Profile Id. The server checks that the asset profile is owned by the same tenant.
Available for users with 'TENANT_ADMIN' authority.
get/api/assetProfile/{assetProfileId}
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScripthttps://skmtc.dev/thingsboard/apis/thingsboard-rest-api/docs/api/assetProfile/:assetProfileId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
assetProfileIdstring required
A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Query parameters
inlineImagesboolean
Inline images as a data URL (Base64)
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ASSET_PROFILE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"name": "Building",
"defaultRuleChainId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "RULE_CHAIN"
},
"defaultDashboardId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DASHBOARD"
},
"defaultEdgeRuleChainId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "RULE_CHAIN"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.