GET API/Reservation/BookingSource/{HotelId}/{Through}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
Required |
|
| Through | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BookingSource| Name | Description | Type | Additional information |
|---|---|---|---|
| BookerName | string |
None. |
|
| label | string |
None. |
|
| ContactNumber | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BookerName": "sample string 1",
"label": "sample string 2",
"ContactNumber": "sample string 3"
},
{
"BookerName": "sample string 1",
"label": "sample string 2",
"ContactNumber": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfBookingSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<BookingSource>
<BookerName>sample string 1</BookerName>
<ContactNumber>sample string 3</ContactNumber>
<label>sample string 2</label>
</BookingSource>
<BookingSource>
<BookerName>sample string 1</BookerName>
<ContactNumber>sample string 3</ContactNumber>
<label>sample string 2</label>
</BookingSource>
</ArrayOfBookingSource>