getAdminProfile

get

/ccadmin/v1/adminProfiles/{id}

Get Admin Profile. Returns an admin profile by id.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Expand query param: comma separated values that can be used to expand profile's roles and access rights information. Possible values for this query parameter are 'roles' and 'accessRights'
    Allowed Values: [ "roles", "accessRights" ]
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getAdminProfile_response
Type: object
Show Source
Nested Schema : accessRights
Type: array
Access rights of the user
Show Source
Nested Schema : roles
Type: array
Array of roles assigned to this profile.
Show Source
Nested Schema : items
Type: object
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
Example Response (application/json)
{
    "lastName":"Admin",
    "firstName":"Amber",
    "external":false,
    "tourComplete":true,
    "createdBy":"admin",
    "roles":[
        {
            "repositoryId":"adminRole"
        }
    ],
    "repositoryId":"iuser260015",
    "registrationDate":"2014-09-24T12:00:00.000Z",
    "active":true,
    "id":"iuser260015",
    "rolesLastModified":"2021-02-22T12:00:00.000Z",
    "email":"admin@example.com"
}

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| |------------------|------------------| |22000|If the profile id passed is null or empty| |22001|If there was any internal error while getting the profile| |22002|If there was no profile 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