listInternalProfileRoles

get

/ccadmin/v1/adminRoles

List Internal Profile Roles. Get all roles for internal users.

Request

Supported Media Types
Query Parameters
  • Expand query param: currently used to expand accessRights, category info and include security criteria information. Possible value for this query parameter is 'details'
    Allowed Values: [ "details" ]
  • This is the field to determine number of records to be fetched per REST call.
  • This field determines the offset/starting index from which data will be fetched.
  • SCIM query to search on the internal profile roles properties.
  • This parameter is required to use SCIM search on the internal profile roles properties. Possible value for this query parameter is 'SCIM'
  • This is the field to provide sort on the internal profile roles properties
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listInternalProfileRoles_response
Type: object
Show Source
Nested Schema : items
Type: array
All roles for internal users
Show Source
Nested Schema : sort
Type: array
An array that specifies the sort order.
Show Source
Nested Schema : items
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
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "repositoryId":"customRole1",
        "name":"Custom Role 1",
        "description":"Custom Role 1",
        "id":"customRole1",
        "accessRights":[
            {
                "displayName":"GDPR 1",
                "repositoryId":"gdpr1",
                "name":"GDPR 1",
                "description":"Access Right 1 for GDPR",
                "id":"gdpr1",
                "type":"privilege"
            }
        ],
        "securityCriteriaLastModified":"2020-08-17T04:55:39.652Z",
        "category":"Custom"
    }
]

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| |------------------|------------------| |22050|Invalid Query Expression|
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