getGroup
get
/ccadmin/v1/hreflangGroups/{id}
Get Hreflang Group. This operation is used to get single hreflang group from Oracle Commerce Cloud.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
Hreflang group id.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getGroup_response
Type:
Show Source
object
-
groupMembers:
array groupMembers
The list of hreflang groups members
-
groupName:
string
Group name
-
id:
string
ID.
Nested Schema : items
Type:
Show Source
object
-
localeId:
string
ID of the locale.
-
siteId:
string
ID of the site.
-
xDefault:
boolean
Flag indicating if it is a default group member.
Example Response (application/json)
{
"groupMembers":[
{
"xDefault":false,
"repositoryId":"siteB:14",
"siteId":"siteB",
"localeId":"14"
},
{
"xDefault":true,
"repositoryId":"siteB:16",
"siteId":"siteB",
"localeId":"16"
}
],
"groupName":"Test group 2",
"repositoryId":"200002",
"id":"200002"
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code