GET api/Bookings/GetSources/{Source}
Allows the client to request a list of all booking soruces that can be assigned against a booking.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Source |
Use this to state a specific booking source by name. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
A list of booking sources with their ID and Source descriptor.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[{"ID":0,"Source":""}]
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?>
<BookingSources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<APIBookingSource>
<ID>0</ID>
<Source />
</APIBookingSource>
</BookingSources>