GET SearchSecondaryHotels?hotelmasterid={hotelmasterid}&kmrange={kmrange}&rating={rating}&sid={sid}&bCacheRefresh={bCacheRefresh}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hotelmasterid | integer |
Required |
|
kmrange | decimal number |
Required |
|
rating | string |
Required |
|
sid | integer |
Required |
|
bCacheRefresh | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ResponseOfListOfHotelMasterChannelName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | Collection of HotelMasterChannel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": [ { "HotelMasterId": 1, "Name": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "CityCode": "sample string 6", "State": "sample string 7", "StateCode": "sample string 8", "Country": "sample string 9", "CountryCode": "sample string 10", "ZipCode": "sample string 11", "Latitude": "sample string 12", "Longitude": "sample string 13", "Brand": "sample string 14", "TimeZone": "sample string 15", "StarRating": "sample string 16", "HintEabled": true, "DHISCOSupported": true }, { "HotelMasterId": 1, "Name": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "CityCode": "sample string 6", "State": "sample string 7", "StateCode": "sample string 8", "Country": "sample string 9", "CountryCode": "sample string 10", "ZipCode": "sample string 11", "Latitude": "sample string 12", "Longitude": "sample string 13", "Brand": "sample string 14", "TimeZone": "sample string 15", "StarRating": "sample string 16", "HintEabled": true, "DHISCOSupported": true } ] }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"HotelMasterId":1,"Name":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","City":"sample string 5","CityCode":"sample string 6","State":"sample string 7","StateCode":"sample string 8","Country":"sample string 9","CountryCode":"sample string 10","ZipCode":"sample string 11","Latitude":"sample string 12","Longitude":"sample string 13","Brand":"sample string 14","TimeZone":"sample string 15","StarRating":"sample string 16","HintEabled":true,"DHISCOSupported":true},{"HotelMasterId":1,"Name":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","City":"sample string 5","CityCode":"sample string 6","State":"sample string 7","StateCode":"sample string 8","Country":"sample string 9","CountryCode":"sample string 10","ZipCode":"sample string 11","Latitude":"sample string 12","Longitude":"sample string 13","Brand":"sample string 14","TimeZone":"sample string 15","StarRating":"sample string 16","HintEabled":true,"DHISCOSupported":true}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfHotelMasterChannelhxVPT35K xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <d2p1:HotelMasterChannel> <d2p1:Address1>sample string 3</d2p1:Address1> <d2p1:Address2>sample string 4</d2p1:Address2> <d2p1:Brand>sample string 14</d2p1:Brand> <d2p1:City>sample string 5</d2p1:City> <d2p1:CityCode>sample string 6</d2p1:CityCode> <d2p1:Country>sample string 9</d2p1:Country> <d2p1:CountryCode>sample string 10</d2p1:CountryCode> <d2p1:DHISCOSupported>true</d2p1:DHISCOSupported> <d2p1:HintEabled>true</d2p1:HintEabled> <d2p1:HotelMasterId>1</d2p1:HotelMasterId> <d2p1:Latitude>sample string 12</d2p1:Latitude> <d2p1:Longitude>sample string 13</d2p1:Longitude> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:StarRating>sample string 16</d2p1:StarRating> <d2p1:State>sample string 7</d2p1:State> <d2p1:StateCode>sample string 8</d2p1:StateCode> <d2p1:TimeZone>sample string 15</d2p1:TimeZone> <d2p1:ZipCode>sample string 11</d2p1:ZipCode> </d2p1:HotelMasterChannel> <d2p1:HotelMasterChannel> <d2p1:Address1>sample string 3</d2p1:Address1> <d2p1:Address2>sample string 4</d2p1:Address2> <d2p1:Brand>sample string 14</d2p1:Brand> <d2p1:City>sample string 5</d2p1:City> <d2p1:CityCode>sample string 6</d2p1:CityCode> <d2p1:Country>sample string 9</d2p1:Country> <d2p1:CountryCode>sample string 10</d2p1:CountryCode> <d2p1:DHISCOSupported>true</d2p1:DHISCOSupported> <d2p1:HintEabled>true</d2p1:HintEabled> <d2p1:HotelMasterId>1</d2p1:HotelMasterId> <d2p1:Latitude>sample string 12</d2p1:Latitude> <d2p1:Longitude>sample string 13</d2p1:Longitude> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:StarRating>sample string 16</d2p1:StarRating> <d2p1:State>sample string 7</d2p1:State> <d2p1:StateCode>sample string 8</d2p1:StateCode> <d2p1:TimeZone>sample string 15</d2p1:TimeZone> <d2p1:ZipCode>sample string 11</d2p1:ZipCode> </d2p1:HotelMasterChannel> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfArrayOfHotelMasterChannelhxVPT35K>