GET GetOTARankTrends?SID={SID}&OTAId={OTAId}&CheckInDateStart={CheckInDateStart}&CheckInEndDate={CheckInEndDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SID | integer |
Required |
|
OTAId | integer |
Required |
|
CheckInDateStart | date |
Required |
|
CheckInEndDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfOTARankTrendEntityName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | OTARankTrendEntity |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": { "TrendDataPerCheckin": [ { "PropertyName": "sample string 1", "PropertyId": 2, "Channel": "sample string 3", "OTARankEntityCollection": [ { "OTARank": 1, "OTAId": 2, "PageNumber": 3, "HotelName": "sample string 4", "PropertyID": 5, "Score": "sample string 6", "ReviewCount": 7, "ChangeInRank": "sample string 8", "ChangeInScore": "sample string 9", "IntermediateProperty": "sample string 10", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "Price": 12.0, "ChangeInRateDays": 13, "PreviousRank": 14, "PreviousScore": "sample string 15", "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" }, { "OTARank": 1, "OTAId": 2, "PageNumber": 3, "HotelName": "sample string 4", "PropertyID": 5, "Score": "sample string 6", "ReviewCount": 7, "ChangeInRank": "sample string 8", "ChangeInScore": "sample string 9", "IntermediateProperty": "sample string 10", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "Price": 12.0, "ChangeInRateDays": 13, "PreviousRank": 14, "PreviousScore": "sample string 15", "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" } ] }, { "PropertyName": "sample string 1", "PropertyId": 2, "Channel": "sample string 3", "OTARankEntityCollection": [ { "OTARank": 1, "OTAId": 2, "PageNumber": 3, "HotelName": "sample string 4", "PropertyID": 5, "Score": "sample string 6", "ReviewCount": 7, "ChangeInRank": "sample string 8", "ChangeInScore": "sample string 9", "IntermediateProperty": "sample string 10", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "Price": 12.0, "ChangeInRateDays": 13, "PreviousRank": 14, "PreviousScore": "sample string 15", "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" }, { "OTARank": 1, "OTAId": 2, "PageNumber": 3, "HotelName": "sample string 4", "PropertyID": 5, "Score": "sample string 6", "ReviewCount": 7, "ChangeInRank": "sample string 8", "ChangeInScore": "sample string 9", "IntermediateProperty": "sample string 10", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "Price": 12.0, "ChangeInRateDays": 13, "PreviousRank": 14, "PreviousScore": "sample string 15", "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" } ] } ], "subscriberUpperLower": { "SubscriberUpperLower": [ { "OTARank": 1, "PropertyID": 2, "HotelName": "sample string 3", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "IntermediateProperty": "sample string 5", "Channel": "sample string 6", "PageNumber": 7, "Price": 8.0, "Score": "sample string 9", "ReviewCount": 10, "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" }, { "OTARank": 1, "PropertyID": 2, "HotelName": "sample string 3", "CheckInDate": "2025-04-28T17:15:45.2103368+00:00", "IntermediateProperty": "sample string 5", "Channel": "sample string 6", "PageNumber": 7, "Price": 8.0, "Score": "sample string 9", "ReviewCount": 10, "ShopDateTime": "2025-04-28T17:15:45.2103368+00:00" } ] } } }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":{"TrendDataPerCheckin":[{"PropertyName":"sample string 1","PropertyId":2,"Channel":"sample string 3","OTARankEntityCollection":[{"OTARank":1,"OTAId":2,"PageNumber":3,"HotelName":"sample string 4","PropertyID":5,"Score":"sample string 6","ReviewCount":7,"ChangeInRank":"sample string 8","ChangeInScore":"sample string 9","IntermediateProperty":"sample string 10","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","Price":12.0,"ChangeInRateDays":13,"PreviousRank":14,"PreviousScore":"sample string 15","ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"},{"OTARank":1,"OTAId":2,"PageNumber":3,"HotelName":"sample string 4","PropertyID":5,"Score":"sample string 6","ReviewCount":7,"ChangeInRank":"sample string 8","ChangeInScore":"sample string 9","IntermediateProperty":"sample string 10","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","Price":12.0,"ChangeInRateDays":13,"PreviousRank":14,"PreviousScore":"sample string 15","ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"}]},{"PropertyName":"sample string 1","PropertyId":2,"Channel":"sample string 3","OTARankEntityCollection":[{"OTARank":1,"OTAId":2,"PageNumber":3,"HotelName":"sample string 4","PropertyID":5,"Score":"sample string 6","ReviewCount":7,"ChangeInRank":"sample string 8","ChangeInScore":"sample string 9","IntermediateProperty":"sample string 10","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","Price":12.0,"ChangeInRateDays":13,"PreviousRank":14,"PreviousScore":"sample string 15","ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"},{"OTARank":1,"OTAId":2,"PageNumber":3,"HotelName":"sample string 4","PropertyID":5,"Score":"sample string 6","ReviewCount":7,"ChangeInRank":"sample string 8","ChangeInScore":"sample string 9","IntermediateProperty":"sample string 10","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","Price":12.0,"ChangeInRateDays":13,"PreviousRank":14,"PreviousScore":"sample string 15","ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"}]}],"subscriberUpperLower":{"SubscriberUpperLower":[{"OTARank":1,"PropertyID":2,"HotelName":"sample string 3","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","IntermediateProperty":"sample string 5","Channel":"sample string 6","PageNumber":7,"Price":8.0,"Score":"sample string 9","ReviewCount":10,"ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"},{"OTARank":1,"PropertyID":2,"HotelName":"sample string 3","CheckInDate":"2025-04-28T17:15:45.2103368+00:00","IntermediateProperty":"sample string 5","Channel":"sample string 6","PageNumber":7,"Price":8.0,"Score":"sample string 9","ReviewCount":10,"ShopDateTime":"2025-04-28T17:15:45.2103368+00:00"}]}}}
application/xml, text/xml
Sample:
<ResponseOfOTARankTrendEntityQzIzD0mn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body> <TrendDataPerCheckin> <DataPerCheckin> <Channel>sample string 3</Channel> <OTARankEntityCollection> <OTARankEntity> <ChangeInRank>sample string 8</ChangeInRank> <ChangeInRateDays>13</ChangeInRateDays> <ChangeInScore>sample string 9</ChangeInScore> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 4</HotelName> <IntermediateProperty>sample string 10</IntermediateProperty> <OTAId>2</OTAId> <OTARank>1</OTARank> <PageNumber>3</PageNumber> <PreviousRank>14</PreviousRank> <PreviousScore>sample string 15</PreviousScore> <Price>12</Price> <PropertyID>5</PropertyID> <ReviewCount>7</ReviewCount> <Score>sample string 6</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </OTARankEntity> <OTARankEntity> <ChangeInRank>sample string 8</ChangeInRank> <ChangeInRateDays>13</ChangeInRateDays> <ChangeInScore>sample string 9</ChangeInScore> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 4</HotelName> <IntermediateProperty>sample string 10</IntermediateProperty> <OTAId>2</OTAId> <OTARank>1</OTARank> <PageNumber>3</PageNumber> <PreviousRank>14</PreviousRank> <PreviousScore>sample string 15</PreviousScore> <Price>12</Price> <PropertyID>5</PropertyID> <ReviewCount>7</ReviewCount> <Score>sample string 6</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </OTARankEntity> </OTARankEntityCollection> <PropertyId>2</PropertyId> <PropertyName>sample string 1</PropertyName> </DataPerCheckin> <DataPerCheckin> <Channel>sample string 3</Channel> <OTARankEntityCollection> <OTARankEntity> <ChangeInRank>sample string 8</ChangeInRank> <ChangeInRateDays>13</ChangeInRateDays> <ChangeInScore>sample string 9</ChangeInScore> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 4</HotelName> <IntermediateProperty>sample string 10</IntermediateProperty> <OTAId>2</OTAId> <OTARank>1</OTARank> <PageNumber>3</PageNumber> <PreviousRank>14</PreviousRank> <PreviousScore>sample string 15</PreviousScore> <Price>12</Price> <PropertyID>5</PropertyID> <ReviewCount>7</ReviewCount> <Score>sample string 6</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </OTARankEntity> <OTARankEntity> <ChangeInRank>sample string 8</ChangeInRank> <ChangeInRateDays>13</ChangeInRateDays> <ChangeInScore>sample string 9</ChangeInScore> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 4</HotelName> <IntermediateProperty>sample string 10</IntermediateProperty> <OTAId>2</OTAId> <OTARank>1</OTARank> <PageNumber>3</PageNumber> <PreviousRank>14</PreviousRank> <PreviousScore>sample string 15</PreviousScore> <Price>12</Price> <PropertyID>5</PropertyID> <ReviewCount>7</ReviewCount> <Score>sample string 6</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </OTARankEntity> </OTARankEntityCollection> <PropertyId>2</PropertyId> <PropertyName>sample string 1</PropertyName> </DataPerCheckin> </TrendDataPerCheckin> <subscriberUpperLower> <SubscriberUpperLower> <SubscriberUpperLower> <Channel>sample string 6</Channel> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 3</HotelName> <IntermediateProperty>sample string 5</IntermediateProperty> <OTARank>1</OTARank> <PageNumber>7</PageNumber> <Price>8</Price> <PropertyID>2</PropertyID> <ReviewCount>10</ReviewCount> <Score>sample string 9</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </SubscriberUpperLower> <SubscriberUpperLower> <Channel>sample string 6</Channel> <CheckInDate>2025-04-28T17:15:45.2103368+00:00</CheckInDate> <HotelName>sample string 3</HotelName> <IntermediateProperty>sample string 5</IntermediateProperty> <OTARank>1</OTARank> <PageNumber>7</PageNumber> <Price>8</Price> <PropertyID>2</PropertyID> <ReviewCount>10</ReviewCount> <Score>sample string 9</Score> <ShopDateTime>2025-04-28T17:15:45.2103368+00:00</ShopDateTime> </SubscriberUpperLower> </SubscriberUpperLower> </subscriberUpperLower> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfOTARankTrendEntityQzIzD0mn>