POST InsertRawData
Request Information
URI Parameters
None.
Body Parameters
Collection of RankDataName | Description | Type | Additional information |
---|---|---|---|
URL | string |
None. |
|
ScheduleId | integer |
None. |
|
CheckIndate | date |
None. |
|
ChannelName | string |
None. |
|
PropertyName | string |
None. |
|
PropertyId | integer |
None. |
|
OTAID | integer |
None. |
|
Rank | integer |
None. |
|
Score | string |
None. |
|
ReviewCount | integer |
None. |
|
IntermediateProperty | string |
None. |
|
Price | string |
None. |
|
PageNo | integer |
None. |
|
CityName | string |
None. |
|
HotelMasterId | integer |
None. |
|
SID | integer |
None. |
|
isSubscriber | boolean |
None. |
|
Country | string |
None. |
|
SupplyRating | Collection of SupplyRating |
None. |
|
ID | integer |
None. |
|
Neighbourhood | string |
None. |
|
LOS | integer |
None. |
|
Guest | integer |
None. |
|
StayType | string |
None. |
|
StarRating | string |
None. |
|
RequestType | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "URL": "sample string 1", "ScheduleId": 1, "CheckIndate": "2025-04-28T15:56:35.1386269+00:00", "ChannelName": "sample string 2", "PropertyName": "sample string 3", "PropertyId": 1, "OTAID": 1, "Rank": 1, "Score": "sample string 4", "ReviewCount": 1, "IntermediateProperty": "sample string 5", "Price": "sample string 6", "PageNo": 1, "CityName": "sample string 7", "HotelMasterId": 1, "SID": 1, "isSubscriber": true, "Country": "sample string 9", "SupplyRating": [ { "StarRating": "sample string 1", "AvailableShop": "sample string 2", "TotalShop": "sample string 3" }, { "StarRating": "sample string 1", "AvailableShop": "sample string 2", "TotalShop": "sample string 3" } ], "ID": 1, "Neighbourhood": "sample string 10", "LOS": 1, "Guest": 1, "StayType": "sample string 11", "StarRating": "sample string 12", "RequestType": "sample string 13" }, { "URL": "sample string 1", "ScheduleId": 1, "CheckIndate": "2025-04-28T15:56:35.1386269+00:00", "ChannelName": "sample string 2", "PropertyName": "sample string 3", "PropertyId": 1, "OTAID": 1, "Rank": 1, "Score": "sample string 4", "ReviewCount": 1, "IntermediateProperty": "sample string 5", "Price": "sample string 6", "PageNo": 1, "CityName": "sample string 7", "HotelMasterId": 1, "SID": 1, "isSubscriber": true, "Country": "sample string 9", "SupplyRating": [ { "StarRating": "sample string 1", "AvailableShop": "sample string 2", "TotalShop": "sample string 3" }, { "StarRating": "sample string 1", "AvailableShop": "sample string 2", "TotalShop": "sample string 3" } ], "ID": 1, "Neighbourhood": "sample string 10", "LOS": 1, "Guest": 1, "StayType": "sample string 11", "StarRating": "sample string 12", "RequestType": "sample string 13" } ]
text/html
Sample:
[{"URL":"sample string 1","ScheduleId":1,"CheckIndate":"2025-04-28T15:56:35.1386269+00:00","ChannelName":"sample string 2","PropertyName":"sample string 3","PropertyId":1,"OTAID":1,"Rank":1,"Score":"sample string 4","ReviewCount":1,"IntermediateProperty":"sample string 5","Price":"sample string 6","PageNo":1,"CityName":"sample string 7","HotelMasterId":1,"SID":1,"isSubscriber":true,"Country":"sample string 9","SupplyRating":[{"StarRating":"sample string 1","AvailableShop":"sample string 2","TotalShop":"sample string 3"},{"StarRating":"sample string 1","AvailableShop":"sample string 2","TotalShop":"sample string 3"}],"ID":1,"Neighbourhood":"sample string 10","LOS":1,"Guest":1,"StayType":"sample string 11","StarRating":"sample string 12","RequestType":"sample string 13"},{"URL":"sample string 1","ScheduleId":1,"CheckIndate":"2025-04-28T15:56:35.1386269+00:00","ChannelName":"sample string 2","PropertyName":"sample string 3","PropertyId":1,"OTAID":1,"Rank":1,"Score":"sample string 4","ReviewCount":1,"IntermediateProperty":"sample string 5","Price":"sample string 6","PageNo":1,"CityName":"sample string 7","HotelMasterId":1,"SID":1,"isSubscriber":true,"Country":"sample string 9","SupplyRating":[{"StarRating":"sample string 1","AvailableShop":"sample string 2","TotalShop":"sample string 3"},{"StarRating":"sample string 1","AvailableShop":"sample string 2","TotalShop":"sample string 3"}],"ID":1,"Neighbourhood":"sample string 10","LOS":1,"Guest":1,"StayType":"sample string 11","StarRating":"sample string 12","RequestType":"sample string 13"}]
application/xml, text/xml
Sample:
<ArrayOfRankData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.OTARank"> <RankData> <ChannelName>sample string 2</ChannelName> <CheckIndate>2025-04-28T15:56:35.1386269+00:00</CheckIndate> <CityName>sample string 7</CityName> <Country>sample string 9</Country> <Guest>1</Guest> <HotelMasterId>1</HotelMasterId> <ID>1</ID> <IntermediateProperty>sample string 5</IntermediateProperty> <LOS>1</LOS> <Neighbourhood>sample string 10</Neighbourhood> <OTAID>1</OTAID> <PageNo>1</PageNo> <Price>sample string 6</Price> <PropertyId>1</PropertyId> <PropertyName>sample string 3</PropertyName> <Rank>1</Rank> <RequestType>sample string 13</RequestType> <ReviewCount>1</ReviewCount> <SID>1</SID> <ScheduleId>1</ScheduleId> <Score>sample string 4</Score> <StarRating>sample string 12</StarRating> <StayType>sample string 11</StayType> <SupplyRating> <SupplyRating> <AvailableShop>sample string 2</AvailableShop> <StarRating>sample string 1</StarRating> <TotalShop>sample string 3</TotalShop> </SupplyRating> <SupplyRating> <AvailableShop>sample string 2</AvailableShop> <StarRating>sample string 1</StarRating> <TotalShop>sample string 3</TotalShop> </SupplyRating> </SupplyRating> <URL>sample string 1</URL> <isSubscriber>true</isSubscriber> </RankData> <RankData> <ChannelName>sample string 2</ChannelName> <CheckIndate>2025-04-28T15:56:35.1386269+00:00</CheckIndate> <CityName>sample string 7</CityName> <Country>sample string 9</Country> <Guest>1</Guest> <HotelMasterId>1</HotelMasterId> <ID>1</ID> <IntermediateProperty>sample string 5</IntermediateProperty> <LOS>1</LOS> <Neighbourhood>sample string 10</Neighbourhood> <OTAID>1</OTAID> <PageNo>1</PageNo> <Price>sample string 6</Price> <PropertyId>1</PropertyId> <PropertyName>sample string 3</PropertyName> <Rank>1</Rank> <RequestType>sample string 13</RequestType> <ReviewCount>1</ReviewCount> <SID>1</SID> <ScheduleId>1</ScheduleId> <Score>sample string 4</Score> <StarRating>sample string 12</StarRating> <StayType>sample string 11</StayType> <SupplyRating> <SupplyRating> <AvailableShop>sample string 2</AvailableShop> <StarRating>sample string 1</StarRating> <TotalShop>sample string 3</TotalShop> </SupplyRating> <SupplyRating> <AvailableShop>sample string 2</AvailableShop> <StarRating>sample string 1</StarRating> <TotalShop>sample string 3</TotalShop> </SupplyRating> </SupplyRating> <URL>sample string 1</URL> <isSubscriber>true</isSubscriber> </RankData> </ArrayOfRankData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBooleanName | 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>