Planon IoT : Axonize (stand-alone) : Roles Endpoints : Roles/ Get/[roleId]/Endpoints : Response ‒ Roles/Get/[roleId]/Endpoints
Response ‒ Roles/Get/[roleId]/Endpoints
The response that is returned contains the following properties –
Property
Type
Description
id
String
The ID of the Endpoint.
name
String
The name of the Endpoint.
type
Boolean
for an API-related Endpoint.
for a UI-related Endpoint.
uiPermissiontype
String
The user interface permission type. Values are –
Enabled – The Endpoint is enabled in the user interface.
Disabled – The Endpoint is disabled in the user interface.
Hidden – The Endpoint is hidden in the user interface.
Example JSON Roles/Get/[roleId]/Endpoints Response
Status 200 – OK
{
“@odata.context”: “https://dev-axonizeapi-axonize.dev-ase-axonize.p.azurewebsites.net/odata/$metadata#Collection(Axonize.Data.Repository.Sql.Endpoint)”,
“value”: [
{
“@odata.type”: “#Axonize.Data.Repository.Sql.Endpoint”,
“id”: “01DB80FE-00D5-4C90-A9E1-FB66EF0B3FA7”,
“name”: “odata/groups/removeDeviceFromGroup”,
“type”: 0,
“uiPermissionType”: “Enabled”,
“taskToEndpoints”: []
},
{
“@odata.type”: “#Axonize.Data.Repository.Sql.Endpoint”,
“id”: “09CBE3CF-75A7-42CB-A2D2-D6A2ABA17C4C”,
“name”: “odata/groups/put”,
“type”: 0,
“uiPermissionType”: “Enabled”,
} ]
}