listRecommendationGlobalRules

get

/ccadmin/v1/recommendationGlobalRules

This operation is used to get the collection of Recommendation Global Rules from Oracle Commerce Cloud.

Request

Supported Media Types
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listRecommendationGlobalRules_response
Type: object
Show Source
Nested Schema : items
Type: array
The returned list of items.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : conditions
Type: array
The array of Conditions and their parameters, if any. Conditions are described in the /recommendationGlobalRuleConditions endpoint.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "totalResults":3,
    "offset":0,
    "sort":{
        "property":"displayName",
        "order":"asc"
    },
    "items":[
        {
            "displayName":"noProductsInCurrentBrand",
            "description":"This is a description of noProductsInCurrentBrand",
            "id":"noProductsInCurrentBrand",
            "conditions":[
                {
                    "id":"currentBrand"
                }
            ]
        },
        {
            "displayName":"noProductsInCurrentCollection",
            "description":"This is a description of noProductsInCurrentCollection",
            "id":"noProductsInCurrentCollection",
            "conditions":[
                {
                    "id":"currentCollection"
                }
            ]
        },
        {
            "displayName":"noProductsInCurrentPriceType",
            "description":"This is a description of noProductsInCurrentPriceType",
            "id":"noProductsInCurrentPriceType",
            "conditions":[
                {
                    "id":"currentPriceType"
                }
            ]
        }
    ]
}

Default Response

The error response.
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