getGroups

get

/ccadmin/v1/hreflangGroups

Get Hreflang Groups. This operation is used to get hreflang groups from Oracle Commerce Cloud.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getGroups_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of defined hreflang groups
Show Source
Nested Schema : getGroup_response
Type: object
Show Source
Nested Schema : groupMembers
Type: array
The list of hreflang groups members
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "groupMembers":[
            {
                "xDefault":false,
                "repositoryId":"siteB:12",
                "siteId":"siteB",
                "localeId":"12"
            },
            {
                "xDefault":false,
                "repositoryId":"siteB:13",
                "siteId":"siteB",
                "localeId":"13"
            },
            {
                "xDefault":true,
                "repositoryId":"siteUS:1",
                "siteId":"siteUS",
                "localeId":"1"
            }
        ],
        "groupName":"Test group 1",
        "repositoryId":"100001",
        "id":"100001"
    }
]

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