addEntryPageSessionContext

put

/ccstore/v1/audienceContext/currentSession/entryPage/current

Save the current session entry page data for the current user.

Request

Supported Media Types
Body ()
Root Schema : addEntryPageSessionContext_request
Type: object
Show Source
Example:
{
    "entryPage":{
        "Referer":"http://a.com",
        "URL":"http://www.oracle.com?a=b&c=&d=&e="
    }
}
Back to Top

Response

Supported Media Types

200 Response

The following model is returned the when operation succeeds and indicates that the session context was updated.
Body ()
Root Schema : addEntryPageSessionContext_response
Type: object
Show Source
Example:
{
    "Referer":"http://a.com",
    "Params":{
        "a":[
            "b"
        ],
        "c":[
        ],
        "d":[
        ],
        "e":[
        ]
    },
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstoreui/v1/audienceContext/currentSession/entryPage/current"
        }
    ],
    "URL":"http://www.oracle.com?a=b&c=&d=&e="
}

201 Response

The following model is returned the when operation succeeds and indicates that the session data was created.
Body ()
Root Schema : addEntryPageSessionContext_response
Type: object
Show Source
Example:
{
    "Referer":"http://a.com",
    "Params":{
        "a":[
            "b"
        ],
        "c":[
        ],
        "d":[
        ],
        "e":[
        ]
    },
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:8080/ccstoreui/v1/audienceContext/currentSession/entryPage/current"
        }
    ],
    "URL":"http://www.oracle.com?a=b&c=&d=&e="
}

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| |------------------|------------------| |54142|The entry page property with name {0} has exceeded the maximum allowable length of {1}.| |54143|Unable to store Entry Page data for session because it is null.| |54144|The required header is missing: X-CCVisitId|
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