PermissionPageResult
totalintegerrequired
Total number of items
Example:
42result object[]required
Array of permission items
Array [
uidstringrequired
Unique identifier of the permission
Example:
019619df-4768-76b3-8ab3-4414dcf29ff1typestringrequired
Type of the permission
Possible values: [ASSET, PROFILE, SCOPE, SCOPE_GROUP, REPORT, REPORT_GROUP]
Example:
ASSETsubTypestring
Subtype of the permission
Possible values: [BUILDING, BUILDING_GROUP, FACILITY, PORTFOLIO, COMPANY, APPLICATION, RIGHT, POWERBI, METABASE]
Example:
PORTFOLIOcodestringrequired
Code of the permission
Example:
portfolio-123labelstringrequired
Display label of the permission
Example:
Alpha Portfoliodescriptionstring
Description of the permission
Example:
The Alpha Portfolio of buildingsmetadata objectrequired
urlstring
URL of the resource held by this permission
Example:
https://example.comlogo object
formatstring
Format of the logo
Example:
SVGresourcestring
Resource of the logo
Example:
<svg></svg>thematic object
uidstringrequired
Unique identifier of the thematic
Example:
550e8400-e29b-41d4-a716-446655440000names objectrequired
Localized names of the thematic (locale as key, name as value)
property name*string
orderintegerrequired
Display order of the thematic
Example:
1assetCodestring
Asset ERP code associated with this permission (for ASSET type permissions)
Example:
ASSET-001children objectrequired
countintegerrequired
Total number of children
Example:
5uidsstring[]required
UIDs of child permissions
Example:
["019619df-4767-730f-8d31-143712a08141","019619df-4768-75e4-a334-cde454b9e9e1"]users object
countintegerrequired
Total number of users
Example:
3]
PermissionPageResult
{
"total": 42,
"result": [
{
"uid": "019619df-4768-76b3-8ab3-4414dcf29ff1",
"type": "ASSET",
"subType": "PORTFOLIO",
"code": "portfolio-123",
"label": "Alpha Portfolio",
"description": "The Alpha Portfolio of buildings",
"metadata": {
"url": "https://example.com",
"logo": {
"format": "SVG",
"resource": "<svg></svg>"
},
"thematic": {
"uid": "550e8400-e29b-41d4-a716-446655440000",
"names": {
"en-GB": "Environmental Sustainability",
"fr-FR": "Durabilité Environnementale"
},
"order": 1
},
"assetCode": "ASSET-001"
},
"children": {
"count": 5,
"uids": [
"019619df-4767-730f-8d31-143712a08141",
"019619df-4768-75e4-a334-cde454b9e9e1"
]
},
"users": {
"count": 3
}
}
]
}