POST getAllRatesForGivenShopdate
Request Information
URI Parameters
None.
Body Parameters
ShopDateWiseRatePostName | Description | Type | Additional information |
---|---|---|---|
SID | integer |
None. |
|
SubscriberPropertyId | integer |
None. |
|
CheckInStartDate | date |
None. |
|
CheckInEndDate | date |
None. |
|
ShopDate | date |
None. |
|
Guest | string |
None. |
|
LOS | string |
None. |
|
InclusionID | Collection of string |
None. |
|
Channels | Collection of integer |
None. |
|
TaxPreference | integer |
None. |
|
ProductType | string |
None. |
|
Qualification | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "SID": 1, "SubscriberPropertyId": 2, "CheckInStartDate": "2025-04-28T16:27:55.0458115+00:00", "CheckInEndDate": "2025-04-28T16:27:55.0458115+00:00", "ShopDate": "2025-04-28T16:27:55.0458115+00:00", "Guest": "sample string 6", "LOS": "sample string 7", "InclusionID": [ "sample string 1", "sample string 2" ], "Channels": [ 1, 2 ], "TaxPreference": 1, "ProductType": "sample string 8", "Qualification": true }
text/html
Sample:
{"SID":1,"SubscriberPropertyId":2,"CheckInStartDate":"2025-04-28T16:27:55.0458115+00:00","CheckInEndDate":"2025-04-28T16:27:55.0458115+00:00","ShopDate":"2025-04-28T16:27:55.0458115+00:00","Guest":"sample string 6","LOS":"sample string 7","InclusionID":["sample string 1","sample string 2"],"Channels":[1,2],"TaxPreference":1,"ProductType":"sample string 8","Qualification":true}
application/xml, text/xml
Sample:
<ShopDateWiseRatePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Channels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Channels> <CheckInEndDate>2025-04-28T16:27:55.0458115+00:00</CheckInEndDate> <CheckInStartDate>2025-04-28T16:27:55.0458115+00:00</CheckInStartDate> <Guest>sample string 6</Guest> <InclusionID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InclusionID> <LOS>sample string 7</LOS> <ProductType>sample string 8</ProductType> <Qualification>true</Qualification> <SID>1</SID> <ShopDate>2025-04-28T16:27:55.0458115+00:00</ShopDate> <SubscriberPropertyId>2</SubscriberPropertyId> <TaxPreference>1</TaxPreference> </ShopDateWiseRatePost>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfRatesDataunityName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | RatesDataunity |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": { "SubscriberPropertyId": 1, "CompsetAvgPrice": [ { "CheckInDate": "2025-04-28T16:27:55.0458115+00:00", "SubscriberRate": 1.0, "CompsetAverageRate": 1.0, "CompsetRate": [ { "PropertyId": 1, "CompsetRate": 1.0 }, { "PropertyId": 1, "CompsetRate": 1.0 } ] }, { "CheckInDate": "2025-04-28T16:27:55.0458115+00:00", "SubscriberRate": 1.0, "CompsetAverageRate": 1.0, "CompsetRate": [ { "PropertyId": 1, "CompsetRate": 1.0 }, { "PropertyId": 1, "CompsetRate": 1.0 } ] } ] } }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":{"SubscriberPropertyId":1,"CompsetAvgPrice":[{"CheckInDate":"2025-04-28T16:27:55.0458115+00:00","SubscriberRate":1.0,"CompsetAverageRate":1.0,"CompsetRate":[{"PropertyId":1,"CompsetRate":1.0},{"PropertyId":1,"CompsetRate":1.0}]},{"CheckInDate":"2025-04-28T16:27:55.0458115+00:00","SubscriberRate":1.0,"CompsetAverageRate":1.0,"CompsetRate":[{"PropertyId":1,"CompsetRate":1.0},{"PropertyId":1,"CompsetRate":1.0}]}]}}
application/xml, text/xml
Sample:
<ResponseOfRatesDataunityQzIzD0mn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body> <CompsetAvgPrice> <CompsetAvgRate> <CheckInDate>2025-04-28T16:27:55.0458115+00:00</CheckInDate> <CompsetAverageRate>1</CompsetAverageRate> <CompsetRate> <CompsetNewRate> <CompsetRate>1</CompsetRate> <PropertyId>1</PropertyId> </CompsetNewRate> <CompsetNewRate> <CompsetRate>1</CompsetRate> <PropertyId>1</PropertyId> </CompsetNewRate> </CompsetRate> <SubscriberRate>1</SubscriberRate> </CompsetAvgRate> <CompsetAvgRate> <CheckInDate>2025-04-28T16:27:55.0458115+00:00</CheckInDate> <CompsetAverageRate>1</CompsetAverageRate> <CompsetRate> <CompsetNewRate> <CompsetRate>1</CompsetRate> <PropertyId>1</PropertyId> </CompsetNewRate> <CompsetNewRate> <CompsetRate>1</CompsetRate> <PropertyId>1</PropertyId> </CompsetNewRate> </CompsetRate> <SubscriberRate>1</SubscriberRate> </CompsetAvgRate> </CompsetAvgPrice> <SubscriberPropertyId>1</SubscriberPropertyId> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfRatesDataunityQzIzD0mn>