GET api/RoomAvailability/GetReservationByVenue/{id}?date={date}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RoomReservationViewName | Description | Type | Additional information |
---|---|---|---|
RoomId | integer |
None. |
|
RoomName | string |
None. |
|
Reservations | Collection of ReservationView |
None. |
Response Formats
application/json, text/json
Sample:
[ { "roomId": 1, "roomName": "sample string 2", "reservations": [ { "id": 1, "start": "2025-08-27T07:15:11.0859008+00:00", "finish": "2025-08-27T07:15:11.0859008+00:00", "reservedDate": "sample string 4", "reservedFrom": "sample string 5", "reservedTo": "sample string 6", "reservedHour": "sample string 7", "userId": 1, "userName": "sample string 8", "totalAmount": 9.0, "attendee": 10, "isEventBananaLead": true }, { "id": 1, "start": "2025-08-27T07:15:11.0859008+00:00", "finish": "2025-08-27T07:15:11.0859008+00:00", "reservedDate": "sample string 4", "reservedFrom": "sample string 5", "reservedTo": "sample string 6", "reservedHour": "sample string 7", "userId": 1, "userName": "sample string 8", "totalAmount": 9.0, "attendee": 10, "isEventBananaLead": true } ] }, { "roomId": 1, "roomName": "sample string 2", "reservations": [ { "id": 1, "start": "2025-08-27T07:15:11.0859008+00:00", "finish": "2025-08-27T07:15:11.0859008+00:00", "reservedDate": "sample string 4", "reservedFrom": "sample string 5", "reservedTo": "sample string 6", "reservedHour": "sample string 7", "userId": 1, "userName": "sample string 8", "totalAmount": 9.0, "attendee": 10, "isEventBananaLead": true }, { "id": 1, "start": "2025-08-27T07:15:11.0859008+00:00", "finish": "2025-08-27T07:15:11.0859008+00:00", "reservedDate": "sample string 4", "reservedFrom": "sample string 5", "reservedTo": "sample string 6", "reservedHour": "sample string 7", "userId": 1, "userName": "sample string 8", "totalAmount": 9.0, "attendee": 10, "isEventBananaLead": true } ] } ]
text/html
Sample:
[{"roomId":1,"roomName":"sample string 2","reservations":[{"id":1,"start":"2025-08-27T07:15:11.0859008+00:00","finish":"2025-08-27T07:15:11.0859008+00:00","reservedDate":"sample string 4","reservedFrom":"sample string 5","reservedTo":"sample string 6","reservedHour":"sample string 7","userId":1,"userName":"sample string 8","totalAmount":9.0,"attendee":10,"isEventBananaLead":true},{"id":1,"start":"2025-08-27T07:15:11.0859008+00:00","finish":"2025-08-27T07:15:11.0859008+00:00","reservedDate":"sample string 4","reservedFrom":"sample string 5","reservedTo":"sample string 6","reservedHour":"sample string 7","userId":1,"userName":"sample string 8","totalAmount":9.0,"attendee":10,"isEventBananaLead":true}]},{"roomId":1,"roomName":"sample string 2","reservations":[{"id":1,"start":"2025-08-27T07:15:11.0859008+00:00","finish":"2025-08-27T07:15:11.0859008+00:00","reservedDate":"sample string 4","reservedFrom":"sample string 5","reservedTo":"sample string 6","reservedHour":"sample string 7","userId":1,"userName":"sample string 8","totalAmount":9.0,"attendee":10,"isEventBananaLead":true},{"id":1,"start":"2025-08-27T07:15:11.0859008+00:00","finish":"2025-08-27T07:15:11.0859008+00:00","reservedDate":"sample string 4","reservedFrom":"sample string 5","reservedTo":"sample string 6","reservedHour":"sample string 7","userId":1,"userName":"sample string 8","totalAmount":9.0,"attendee":10,"isEventBananaLead":true}]}]
application/xml, text/xml
Sample:
<ArrayOfRoomReservationView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <RoomReservationView> <Reservations> <ReservationView> <Attendee>10</Attendee> <Finish>2025-08-27T07:15:11.0859008+00:00</Finish> <Id>1</Id> <IsEventBananaLead>true</IsEventBananaLead> <ReservedDate>sample string 4</ReservedDate> <ReservedFrom>sample string 5</ReservedFrom> <ReservedHour>sample string 7</ReservedHour> <ReservedTo>sample string 6</ReservedTo> <Start>2025-08-27T07:15:11.0859008+00:00</Start> <TotalAmount>9</TotalAmount> <UserId>1</UserId> <UserName>sample string 8</UserName> </ReservationView> <ReservationView> <Attendee>10</Attendee> <Finish>2025-08-27T07:15:11.0859008+00:00</Finish> <Id>1</Id> <IsEventBananaLead>true</IsEventBananaLead> <ReservedDate>sample string 4</ReservedDate> <ReservedFrom>sample string 5</ReservedFrom> <ReservedHour>sample string 7</ReservedHour> <ReservedTo>sample string 6</ReservedTo> <Start>2025-08-27T07:15:11.0859008+00:00</Start> <TotalAmount>9</TotalAmount> <UserId>1</UserId> <UserName>sample string 8</UserName> </ReservationView> </Reservations> <RoomId>1</RoomId> <RoomName>sample string 2</RoomName> </RoomReservationView> <RoomReservationView> <Reservations> <ReservationView> <Attendee>10</Attendee> <Finish>2025-08-27T07:15:11.0859008+00:00</Finish> <Id>1</Id> <IsEventBananaLead>true</IsEventBananaLead> <ReservedDate>sample string 4</ReservedDate> <ReservedFrom>sample string 5</ReservedFrom> <ReservedHour>sample string 7</ReservedHour> <ReservedTo>sample string 6</ReservedTo> <Start>2025-08-27T07:15:11.0859008+00:00</Start> <TotalAmount>9</TotalAmount> <UserId>1</UserId> <UserName>sample string 8</UserName> </ReservationView> <ReservationView> <Attendee>10</Attendee> <Finish>2025-08-27T07:15:11.0859008+00:00</Finish> <Id>1</Id> <IsEventBananaLead>true</IsEventBananaLead> <ReservedDate>sample string 4</ReservedDate> <ReservedFrom>sample string 5</ReservedFrom> <ReservedHour>sample string 7</ReservedHour> <ReservedTo>sample string 6</ReservedTo> <Start>2025-08-27T07:15:11.0859008+00:00</Start> <TotalAmount>9</TotalAmount> <UserId>1</UserId> <UserName>sample string 8</UserName> </ReservationView> </Reservations> <RoomId>1</RoomId> <RoomName>sample string 2</RoomName> </RoomReservationView> </ArrayOfRoomReservationView>