getRole

get

/ccadmin/v1/roles/{id}

Get Role. Returns a role by ID.

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getRole_response
Type: object
Show Source
Nested Schema : accessRights
Type: array
Access rights assigned to role
Show Source
Nested Schema : relativeTo
Type: object
Related organization for organizationRole
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "function":"accountAddressManager",
    "relativeTo":{
        "id":"or-100000",
        "externalOrganizationId":null
    },
    "name":"Account Address Manager",
    "repositoryId":"100001",
    "description":null,
    "id":"100001",
    "accessRights":[
        {
            "displayName":null,
            "name":"Create Account Address",
            "repositoryId":"createAccountAddress",
            "description":null,
            "id":"createAccountAddress",
            "type":"generic"
        },
        {
            "displayName":null,
            "name":"Update Account Address",
            "repositoryId":"updateAccountAddress",
            "description":null,
            "id":"updateAccountAddress",
            "type":"generic"
        }
    ],
    "type":"organizationalRole"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top