getCurrentAdminProfileAssetAccessDetails
post
                    /ccadmin/v1/adminProfiles/current/assetAccessDetails
Get access list for the current admin profile.
                Request
Supported Media Types
                - application/json
Root Schema : getCurrentAdminProfileAssetAccessDetails_request
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            items(optional): 
            array  items
            
            Array of items
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: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            assetGroup(optional): 
            string
            The assetGroup of the resource
- 
            assetType(optional): 
            string
            The assetType of the resource
- 
            id(optional): 
            string
            ID of the resource
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getCurrentAdminProfileAssetAccessDetails_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            hasCatalogRestrictions(optional): 
            boolean
            Boolean indicating whether profile has restricted access to catalogs
- 
            hasPriceGroupRestrictions(optional): 
            boolean
            Boolean indicating whether profile has restricted access to price groups
- 
            items(optional): 
            array  items
            
            Array of items
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            allowedActions(optional): 
            array  allowedActions
            
            Array of actions allowed on the resource
- 
            assetGroup(optional): 
            string
            The assetGroup of the resource
- 
            assetType(optional): 
            string
            The assetType of the resource
- 
            id(optional): 
            string
            ID of the resource
Nested Schema : allowedActions
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of actions allowed on the resource
    
    
    
    
    
        Show Source
        - 
            Array of: 
                string
            
            Name of the action
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|
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code