getLayout

get

/ccadmin/v1/layouts/{id}

Get Layout. Get a layout based on layout ID. Layout will have dynamic properties which change from one layout to another.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getLayout_response
Type: object
Show Source
Nested Schema : regions
Type: array
The region data for all the regions of a page.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "defaultPage":true,
    "seoMetaDescription":"",
    "pageAddress":"home",
    "seoMetaKeywords":"",
    "_links":{
        "self":{
            "href":"/ccadminui/v1/layouts/homePageLayout"
        }
    },
    "pageTitle":"",
    "displayName":"Home Layout",
    "repositoryId":"homePageLayout",
    "layoutViewports":""
}

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| |------------------|------------------| |32001|Error retrieving the layout by its ID.|
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