GET api/Bookings/GetRedeemedBookings/{StartDate}/{EndDate}/{ResourceView}
Allows a client to request a list of redeemed bookings between a start and end date range and within a specific resource view.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
StartDate |
The first date to look for redeemed bookings from. |
date |
Required |
EndDate |
The end date to look for redeemed bookings. |
date |
Required |
ResourceView |
The resource view to check for redeemed bookings within. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of booking IDs which have been redeemed within the date range and against resource within the resource view passed
HttpResponseMessageName | 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:
[{"BookingID":0}]
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?> <RedeemedBookings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <APIRedeemedBooking> <BookingID>0</BookingID> </APIRedeemedBooking> </RedeemedBookings>