getSiteGroups

get

/ccadmin/v1/siteGroups

Get the list of available site groups.

Request

Supported Media Types
Query Parameters
  • If this flag is set to true, site groups will be returned from the production DB. The default value is false.
  • A SCIM filter string for selecting a subset of all site groups. See [https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-12#section-3.2.2)section 3.2.2.2 of the SCIM specification for details on the SCIM filter format. Examples: Get all site groups whose displayName contains US: q=displayName co "US" Get all site groups with siteUSEast as a member: q=sites co "siteUSEast" Text and site ID values appearing in SCIM filters should be quoted. The following site group properties can be used in a q query: * displayName * id * sites The sharedCart property cannot be used in a q query.
  • Boolean indicating if the translations property should be returned for each item in the response. The default value is false.
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getSiteGroups_response
Type: object
Show Source
Nested Schema : items
Type: array
The list of available site groups
Show Source
Nested Schema : sort
Type: array
Array having the order and property of sites.
Show Source
Nested Schema : siteGroup_response
Type: object
Show Source
Nested Schema : sites
Type: array
List of sites that are members of the group.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "total":2,
    "totalResults":2,
    "offset":0,
    "limit":250,
    "sort":[
        {
            "property":"id",
            "order":"asc"
        }
    ],
    "items":[
        {
            "displayName":"Cart sharing group for US sites",
            "sharedCart":true,
            "sites":[
                {
                    "name":"East site",
                    "id":"siteUSEast"
                },
                {
                    "name":"Central site",
                    "id":"siteUSCentral"
                },
                {
                    "name":"West site",
                    "id":"siteUSWest"
                }
            ],
            "id":"cartGroupUS"
        },
        {
            "displayName":"Cart sharing group for EU sites",
            "sharedCart":true,
            "sites":[
                {
                    "name":"French site",
                    "id":"siteFrance"
                },
                {
                    "name":"Italian site",
                    "id":"siteItaly"
                },
                {
                    "name":"Spanish site",
                    "id":"siteSpain"
                },
                {
                    "name":"Portuguese site",
                    "id":"sitePortugal"
                },
                {
                    "name":"German site",
                    "id":"siteGermany"
                }
            ],
            "id":"cartGroupEU"
        }
    ]
}

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