POST GetHotelDetails?bCacheRefresh={bCacheRefresh}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bCacheRefresh | boolean |
Default value is False |
Body Parameters
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
text/html
Sample:
[1,2]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfListOfCityMasterName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | Collection of CityMaster |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": [ { "SID": 1, "HMID": 1, "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "CityCode": "sample string 5", "State": "sample string 6", "StateCode": "sample string 7", "Country": "sample string 8", "CountryCode": "sample string 9", "ZipCode": "sample string 10", "Long": 1.1, "Lat": 1.1, "BrandID": 1, "BrandName": "sample string 11", "CurrencyCode": "sample string 12", "PGHStartDate": "2025-04-28T17:08:54.8825033+00:00", "PGHEndDate": "2025-04-28T17:08:54.8825033+00:00", "isUnreadAlert": true, "UserID": 14 }, { "SID": 1, "HMID": 1, "Name": "sample string 1", "Address1": "sample string 2", "Address2": "sample string 3", "City": "sample string 4", "CityCode": "sample string 5", "State": "sample string 6", "StateCode": "sample string 7", "Country": "sample string 8", "CountryCode": "sample string 9", "ZipCode": "sample string 10", "Long": 1.1, "Lat": 1.1, "BrandID": 1, "BrandName": "sample string 11", "CurrencyCode": "sample string 12", "PGHStartDate": "2025-04-28T17:08:54.8825033+00:00", "PGHEndDate": "2025-04-28T17:08:54.8825033+00:00", "isUnreadAlert": true, "UserID": 14 } ] }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":[{"SID":1,"HMID":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","CityCode":"sample string 5","State":"sample string 6","StateCode":"sample string 7","Country":"sample string 8","CountryCode":"sample string 9","ZipCode":"sample string 10","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 11","CurrencyCode":"sample string 12","PGHStartDate":"2025-04-28T17:08:54.8825033+00:00","PGHEndDate":"2025-04-28T17:08:54.8825033+00:00","isUnreadAlert":true,"UserID":14},{"SID":1,"HMID":1,"Name":"sample string 1","Address1":"sample string 2","Address2":"sample string 3","City":"sample string 4","CityCode":"sample string 5","State":"sample string 6","StateCode":"sample string 7","Country":"sample string 8","CountryCode":"sample string 9","ZipCode":"sample string 10","Long":1.1,"Lat":1.1,"BrandID":1,"BrandName":"sample string 11","CurrencyCode":"sample string 12","PGHStartDate":"2025-04-28T17:08:54.8825033+00:00","PGHEndDate":"2025-04-28T17:08:54.8825033+00:00","isUnreadAlert":true,"UserID":14}]}
application/xml, text/xml
Sample:
<ResponseOfArrayOfCityMasterQzIzD0mn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body> <CityMaster> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <BrandID>1</BrandID> <BrandName>sample string 11</BrandName> <City>sample string 4</City> <CityCode>sample string 5</CityCode> <Country>sample string 8</Country> <CountryCode>sample string 9</CountryCode> <CurrencyCode>sample string 12</CurrencyCode> <HMID>1</HMID> <Lat>1.1</Lat> <Long>1.1</Long> <Name>sample string 1</Name> <PGHEndDate>2025-04-28T17:08:54.8825033+00:00</PGHEndDate> <PGHStartDate>2025-04-28T17:08:54.8825033+00:00</PGHStartDate> <SID>1</SID> <State>sample string 6</State> <StateCode>sample string 7</StateCode> <UserID>14</UserID> <ZipCode>sample string 10</ZipCode> <isUnreadAlert>true</isUnreadAlert> </CityMaster> <CityMaster> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <BrandID>1</BrandID> <BrandName>sample string 11</BrandName> <City>sample string 4</City> <CityCode>sample string 5</CityCode> <Country>sample string 8</Country> <CountryCode>sample string 9</CountryCode> <CurrencyCode>sample string 12</CurrencyCode> <HMID>1</HMID> <Lat>1.1</Lat> <Long>1.1</Long> <Name>sample string 1</Name> <PGHEndDate>2025-04-28T17:08:54.8825033+00:00</PGHEndDate> <PGHStartDate>2025-04-28T17:08:54.8825033+00:00</PGHStartDate> <SID>1</SID> <State>sample string 6</State> <StateCode>sample string 7</StateCode> <UserID>14</UserID> <ZipCode>sample string 10</ZipCode> <isUnreadAlert>true</isUnreadAlert> </CityMaster> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfArrayOfCityMasterQzIzD0mn>