GET api/Bookings/CancelReservedSpace/{VisitDate}/{Spaces}/{ReservationID}/{ResourceID}
Allows a previously made reservation to be cancelled to open up the reserved space. This only works for reserved space that has not been assigned to a completed booking.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VisitDate |
The vist date the spaces were reserved for. |
date |
Required |
Spaces |
The number of spaces that had been reserved. |
integer |
Required |
ReservationID |
The unique reservation ID to indicate the spaces to be cancelled. |
string |
Required |
ResourceID |
The ID of the resource the spaces were resereved for. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
An information response to indicate if the space was cancelled successfully or not.
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:
{"Result":"Complete","Message":"Reservation spaces were successfully cancelled."}
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?> <InformationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result>Complete</Result> <Message>Reservation spaces were successfully cancelled.</Message> </InformationResponse>