GET setting/schduleReport/getProperty?hotelname={hotelname}&city={city}&country={country}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hotelname | string |
Required |
|
city | string |
Required |
|
country | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfPropertyListName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | PropertyList |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": { "Status": true, "Message": "sample string 2", "hotelArray": [ { "HotelMasterId": 1, "Name": "sample string 2", "Country": "sample string 3", "City": "sample string 4", "Address": "sample string 5" }, { "HotelMasterId": 1, "Name": "sample string 2", "Country": "sample string 3", "City": "sample string 4", "Address": "sample string 5" } ] } }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":{"Status":true,"Message":"sample string 2","hotelArray":[{"HotelMasterId":1,"Name":"sample string 2","Country":"sample string 3","City":"sample string 4","Address":"sample string 5"},{"HotelMasterId":1,"Name":"sample string 2","Country":"sample string 3","City":"sample string 4","Address":"sample string 5"}]}}
application/xml, text/xml
Sample:
<ResponseOfPropertyListhxVPT35K 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:Message>sample string 2</d2p1:Message> <d2p1:Status>true</d2p1:Status> <d2p1:hotelArray> <d2p1:HotelArray> <d2p1:Address>sample string 5</d2p1:Address> <d2p1:City>sample string 4</d2p1:City> <d2p1:Country>sample string 3</d2p1:Country> <d2p1:HotelMasterId>1</d2p1:HotelMasterId> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:HotelArray> <d2p1:HotelArray> <d2p1:Address>sample string 5</d2p1:Address> <d2p1:City>sample string 4</d2p1:City> <d2p1:Country>sample string 3</d2p1:Country> <d2p1:HotelMasterId>1</d2p1:HotelMasterId> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:HotelArray> </d2p1:hotelArray> </Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfPropertyListhxVPT35K>