POST SetCachePageDataToRedish?UniqueId={UniqueId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UniqueId | string |
Required |
Body Parameters
CachePage| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | CacheHeader |
None. |
|
| Segment | Collection of CacheSegmentDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"Header": {
"PropertyName": "sample string 1",
"LOS": 2,
"Guest": 3,
"CheckInDate": "2025-11-06T18:39:20.9575152+00:00"
},
"Segment": [
{
"SegmentId": "sample string 1",
"Channel": "sample string 2",
"Status": "sample string 3",
"ShopDateTime": "sample string 4"
},
{
"SegmentId": "sample string 1",
"Channel": "sample string 2",
"Status": "sample string 3",
"ShopDateTime": "sample string 4"
}
]
}
text/html
Sample:
{"Header":{"PropertyName":"sample string 1","LOS":2,"Guest":3,"CheckInDate":"2025-11-06T18:39:20.9575152+00:00"},"Segment":[{"SegmentId":"sample string 1","Channel":"sample string 2","Status":"sample string 3","ShopDateTime":"sample string 4"},{"SegmentId":"sample string 1","Channel":"sample string 2","Status":"sample string 3","ShopDateTime":"sample string 4"}]}
application/xml, text/xml
Sample:
<CachePage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
<Header>
<CheckInDate>2025-11-06T18:39:20.9575152+00:00</CheckInDate>
<Guest>3</Guest>
<LOS>2</LOS>
<PropertyName>sample string 1</PropertyName>
</Header>
<Segment>
<CacheSegmentDetails>
<Channel>sample string 2</Channel>
<SegmentId>sample string 1</SegmentId>
<ShopDateTime>sample string 4</ShopDateTime>
<Status>sample string 3</Status>
</CacheSegmentDetails>
<CacheSegmentDetails>
<Channel>sample string 2</Channel>
<SegmentId>sample string 1</SegmentId>
<ShopDateTime>sample string 4</ShopDateTime>
<Status>sample string 3</Status>
</CacheSegmentDetails>
</Segment>
</CachePage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Body": true
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>