latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

asset-profile-controller

Get Asset Profile Info (getAssetProfileInfoById)

Fetch the Asset Profile Info object based on the provided Asset Profile Id. Asset Profile Info is a lightweight object that includes main information about Asset Profile.

Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority.

get/api/assetProfileInfo/{assetProfileId}

Path parameters

assetProfileIdstring required

A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'

Response

OK

namestring

Entity Name

imagestring

Either URL or Base64 data of the icon. Used in the mobile application to visualize set of asset profiles in the grid view.

Example response

{
  "id": {
    "id": "784f394c-42b6-435a-983c-b7beff2784f9",
    "entityType": "DEVICE"
  },
  "tenantId": {
    "id": "784f394c-42b6-435a-983c-b7beff2784f9",
    "entityType": "TENANT"
  },
  "defaultDashboardId": {
    "id": "784f394c-42b6-435a-983c-b7beff2784f9",
    "entityType": "DASHBOARD"
  }
}