GET api/Booking/List?waiting={waiting}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
waiting | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
BookingListResponseName | Description | Type | Additional information |
---|---|---|---|
BookingId | integer |
None. |
|
VenueName | string |
None. |
|
VenueContact | string |
None. |
|
VenueId | integer |
None. |
|
RoomId | integer |
None. |
|
RoomName | string |
None. |
|
CustomerName | string |
None. |
|
CustomerContact | string |
None. |
|
Guests | integer |
None. |
|
BookingDate | date |
None. |
|
Start | date |
None. |
|
Finish | date |
None. |
|
RemainingTime | string |
None. |
|
TimeDiff | string |
None. |
|
TimeLeft | string |
None. |
|
Status | string |
None. |
|
ConfirmStatus | string |
None. |
|
TotalPrice | decimal number |
None. |
|
Arrangement | string |
None. |
|
CancelDate | date |
None. |
|
ConfirmDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "bookingId": 1, "venueName": "sample string 2", "venueContact": "sample string 3", "venueId": 4, "roomId": 5, "roomName": "sample string 6", "customerName": "sample string 7", "customerContact": "sample string 8", "guests": 9, "bookingDate": "2025-08-29T01:11:15.0426175+00:00", "start": "2025-08-29T01:11:15.0426175+00:00", "finish": "2025-08-29T01:11:15.0426175+00:00", "remainingTime": "sample string 13", "timeDiff": "sample string 14", "timeLeft": "sample string 15", "status": "sample string 16", "confirmStatus": "sample string 17", "totalPrice": 18.0, "arrangement": "sample string 19", "cancelDate": "2025-08-29T01:11:15.0426175+00:00", "confirmDate": "2025-08-29T01:11:15.0426175+00:00" }
text/html
Sample:
{"bookingId":1,"venueName":"sample string 2","venueContact":"sample string 3","venueId":4,"roomId":5,"roomName":"sample string 6","customerName":"sample string 7","customerContact":"sample string 8","guests":9,"bookingDate":"2025-08-29T01:11:15.0426175+00:00","start":"2025-08-29T01:11:15.0426175+00:00","finish":"2025-08-29T01:11:15.0426175+00:00","remainingTime":"sample string 13","timeDiff":"sample string 14","timeLeft":"sample string 15","status":"sample string 16","confirmStatus":"sample string 17","totalPrice":18.0,"arrangement":"sample string 19","cancelDate":"2025-08-29T01:11:15.0426175+00:00","confirmDate":"2025-08-29T01:11:15.0426175+00:00"}
application/xml, text/xml
Sample:
<BookingListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.ViewModels"> <Arrangement>sample string 19</Arrangement> <BookingDate>2025-08-29T01:11:15.0426175+00:00</BookingDate> <BookingId>1</BookingId> <CancelDate>2025-08-29T01:11:15.0426175+00:00</CancelDate> <ConfirmDate>2025-08-29T01:11:15.0426175+00:00</ConfirmDate> <ConfirmStatus>sample string 17</ConfirmStatus> <CustomerContact>sample string 8</CustomerContact> <CustomerName>sample string 7</CustomerName> <Finish>2025-08-29T01:11:15.0426175+00:00</Finish> <Guests>9</Guests> <RemainingTime>sample string 13</RemainingTime> <RoomId>5</RoomId> <RoomName>sample string 6</RoomName> <Start>2025-08-29T01:11:15.0426175+00:00</Start> <Status>sample string 16</Status> <TimeDiff>sample string 14</TimeDiff> <TimeLeft>sample string 15</TimeLeft> <TotalPrice>18</TotalPrice> <VenueContact>sample string 3</VenueContact> <VenueId>4</VenueId> <VenueName>sample string 2</VenueName> </BookingListResponse>