Role Get Role Customizations

Role Get Role Customizations

This API returns the list of all role customizations present in the system for the given level

Privileges required:

READ ROLE_CUSTOMIZATION_PACKAGE

Request
URI
POST
https://{api_host}/portal/rest/role/getRoleCustomizations
COPY
Request Body

Show optional properties

{
    "roleCustomizationLevel": "string"
}
{
    "roleCustomizationLevel": "string",
    "networkId": 0,
    "userId": 0,
    "operatorId": 0,
    "enterpriseId": 0,
    "enterpriseProxyId": 0
}
string
roleCustomizationLevel
Required

roleCustomizationLevel

Possible values are : NETWORK, PARTNER, ENTERPRISE, USER, ALL,
integer
networkId
Optional

networkId

integer
userId
Optional

userId

integer
operatorId
Optional

operatorId

integer
enterpriseId
Optional

enterpriseId

integer
enterpriseProxyId
Optional

enterpriseProxyId

Responses
200

Request was successfully processed

Returns Array of object of type(s) application/json
[
    {
        "id": 0,
        "forRoleId": 0,
        "roleName": "string",
        "roleId": 0,
        "name": "string",
        "isSystemCustomization": 0
    }
]

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"roleCustomizationLevel:"string"}' https://{api_host}/portal/rest/role/getRoleCustomizations