GET api/Bookings/GetStatuses/{Status}
Allows the client to request a list of all booking statuses that can be assigned against a booking.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
Use this to state a specific booking status by name. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
A list of booking statuses with their ID and Status 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,"Status":""}]
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?>
<BookingStatuses xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<APIBookingStatus>
<ID>0</ID>
<Status />
</APIBookingStatus>
</BookingStatuses>