getCurrentAdminProfileAssetAccessDetails

post

/ccadmin/v1/adminProfiles/current/assetAccessDetails

Get access list for the current admin profile.

Request

Supported Media Types
Body ()
Root Schema : getCurrentAdminProfileAssetAccessDetails_request
Type: object
Show Source
Example:
{
    "items":[
        {
            "assetGroup":"/atg/commerce/catalog/ProductCatalog",
            "id":"cloudLakeCatalog",
            "assetType":"catalog"
        },
        {
            "assetGroup":"/atg/commerce/pricing/priceLists/PriceLists",
            "id":"defaultPriceGroup",
            "assetType":"priceListGroup"
        }
    ]
}
Nested Schema : items
Type: array
Array of items
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getCurrentAdminProfileAssetAccessDetails_response
Type: object
Show Source
Nested Schema : items
Type: array
Array of items
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : allowedActions
Type: array
Array of actions allowed on the resource
Show Source
Example Response (application/json)
{
    "hasPriceGroupRestrictions":"false",
    "hasCatalogRestrictions":"true",
    "items":[
        {
            "assetGroup":"/atg/commerce/catalog/ProductCatalog",
            "allowedActions":[
                "create",
                "read"
            ],
            "id":"cloudLakeCatalog",
            "assetType":"catalog"
        },
        {
            "assetGroup":"/atg/commerce/pricing/priceLists/PriceLists",
            "allowedActions":[
                "create",
                "read",
                "update",
                "delete"
            ],
            "id":"defaultPriceGroup",
            "assetType":"priceListGroup"
        }
    ]
}

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| |------------------|------------------| |13037|If a required property is missing| |22058|If there was any internal error while getting the asser access details|
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