GET api/Bookings/GetBookingSaleDetails/{SaleID}/{BookingID}
Allows a client to retrieve the sale details of a booking, either using the Sale ID or the Booking ID.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SaleID |
The sale ID for the booking details to be checked. |
integer |
Required |
BookingID |
The booking ID for the booking details to be checked. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A set of sale details for the booking.
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:
{"TokenAvailable":"","Costs":[{"ProductCode":"","Description":"","Price":0.0,"Quantity":0,"Paid":"","Category":""}],"OutstandingBalance":0.0,"Status":""}
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?> <BookingSaleDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TokenAvailable /> <Costs> <APIBookingCost> <ProductCode /> <Description /> <Price>0</Price> <Quantity>0</Quantity> <Paid /> <Category /> </APIBookingCost> </Costs> <OutstandingBalance>0</OutstandingBalance> <Status /> </BookingSaleDetails>