getAdminRole

get

/ccadmin/v1/adminRoles/{id}

Get Admin Profile 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 : getAdminRole_response
Type: object
Show Source
Nested Schema : accessRights
Type: array
Access rights assigned to the role
Show Source
Nested Schema : category
Type: array
Category of the role
Show Source
Nested Schema : securityCriteria
Type: array
Security criteria assigned to the role
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "securityCriteria":[
    ],
    "name":"Administrator",
    "repositoryId":"adminRole",
    "description":"Administrator Role",
    "id":"adminRole",
    "accessRights":[
        {
            "displayName":"Administrator",
            "name":"Administrator",
            "repositoryId":"ora.adminPrivilege",
            "description":"Administrator Privilege",
            "id":"ora.adminPrivilege",
            "type":"privilege"
        }
    ],
    "securityCriteriaLastModified":"2020-08-17T04:55:39.652Z",
    "category":"Administrator"
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |22049|If there was no role found with the given id|
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