GET api/Venue/GetInformationForWeb?Date={Date}&VenueId={VenueId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Date | date |
Required |
|
VenueId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetInformationForWebResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
Detail | InformationRoomInVenue |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "detail": { "openTime": "00:00:00.1234567", "closeTime": "00:00:00.1234567", "totalEventBananaReserve": 3, "totalNormalReserve": 4, "totalRoom": 5, "listRoom": [ { "roomId": 1, "roomName": "sample string 2", "numberOccupy": 3.1, "numberAvailable": 4 }, { "roomId": 1, "roomName": "sample string 2", "numberOccupy": 3.1, "numberAvailable": 4 } ], "eventTypes": [ { "id": 1, "text": "sample string 2" }, { "id": 1, "text": "sample string 2" } ], "bookingStatus": [ { "id": 1, "text": "sample string 2" }, { "id": 1, "text": "sample string 2" } ], "venueOpenHours": { "venueId": 1, "venueOpenHours": [ { "dayId": 1, "day": "sample string 2", "status": 3, "openTime": "00:00:00.1234567", "closeTime": "00:00:00.1234567" }, { "dayId": 1, "day": "sample string 2", "status": 3, "openTime": "00:00:00.1234567", "closeTime": "00:00:00.1234567" } ] } } }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"detail":{"openTime":"00:00:00.1234567","closeTime":"00:00:00.1234567","totalEventBananaReserve":3,"totalNormalReserve":4,"totalRoom":5,"listRoom":[{"roomId":1,"roomName":"sample string 2","numberOccupy":3.1,"numberAvailable":4},{"roomId":1,"roomName":"sample string 2","numberOccupy":3.1,"numberAvailable":4}],"eventTypes":[{"id":1,"text":"sample string 2"},{"id":1,"text":"sample string 2"}],"bookingStatus":[{"id":1,"text":"sample string 2"},{"id":1,"text":"sample string 2"}],"venueOpenHours":{"venueId":1,"venueOpenHours":[{"dayId":1,"day":"sample string 2","status":3,"openTime":"00:00:00.1234567","closeTime":"00:00:00.1234567"},{"dayId":1,"day":"sample string 2","status":3,"openTime":"00:00:00.1234567","closeTime":"00:00:00.1234567"}]}}}
application/xml, text/xml
Sample:
<VenueController.GetInformationForWebResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <Detail xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Repositories"> <d2p1:BookingStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d3p1:BaseKeyPairText> <d3p1:Id>1</d3p1:Id> <d3p1:Text>sample string 2</d3p1:Text> </d3p1:BaseKeyPairText> <d3p1:BaseKeyPairText> <d3p1:Id>1</d3p1:Id> <d3p1:Text>sample string 2</d3p1:Text> </d3p1:BaseKeyPairText> </d2p1:BookingStatus> <d2p1:CloseTime>PT0.1234567S</d2p1:CloseTime> <d2p1:EventTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/EB.Common.Models"> <d3p1:BaseKeyPairText> <d3p1:Id>1</d3p1:Id> <d3p1:Text>sample string 2</d3p1:Text> </d3p1:BaseKeyPairText> <d3p1:BaseKeyPairText> <d3p1:Id>1</d3p1:Id> <d3p1:Text>sample string 2</d3p1:Text> </d3p1:BaseKeyPairText> </d2p1:EventTypes> <d2p1:ListRoom> <d2p1:RoomList> <d2p1:NumberAvailable>4</d2p1:NumberAvailable> <d2p1:NumberOccupy>3.1</d2p1:NumberOccupy> <d2p1:RoomId>1</d2p1:RoomId> <d2p1:RoomName>sample string 2</d2p1:RoomName> </d2p1:RoomList> <d2p1:RoomList> <d2p1:NumberAvailable>4</d2p1:NumberAvailable> <d2p1:NumberOccupy>3.1</d2p1:NumberOccupy> <d2p1:RoomId>1</d2p1:RoomId> <d2p1:RoomName>sample string 2</d2p1:RoomName> </d2p1:RoomList> </d2p1:ListRoom> <d2p1:OpenTime>PT0.1234567S</d2p1:OpenTime> <d2p1:TotalEventBananaReserve>3</d2p1:TotalEventBananaReserve> <d2p1:TotalNormalReserve>4</d2p1:TotalNormalReserve> <d2p1:TotalRoom>5</d2p1:TotalRoom> <d2p1:VenueOpenHours xmlns:d3p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <d3p1:VenueId>1</d3p1:VenueId> <d3p1:VenueOpenHours> <d3p1:VenueOpenHour> <d3p1:CloseTime>PT0.1234567S</d3p1:CloseTime> <d3p1:Day>sample string 2</d3p1:Day> <d3p1:DayId>1</d3p1:DayId> <d3p1:OpenTime>PT0.1234567S</d3p1:OpenTime> <d3p1:Status>3</d3p1:Status> </d3p1:VenueOpenHour> <d3p1:VenueOpenHour> <d3p1:CloseTime>PT0.1234567S</d3p1:CloseTime> <d3p1:Day>sample string 2</d3p1:Day> <d3p1:DayId>1</d3p1:DayId> <d3p1:OpenTime>PT0.1234567S</d3p1:OpenTime> <d3p1:Status>3</d3p1:Status> </d3p1:VenueOpenHour> </d3p1:VenueOpenHours> </d2p1:VenueOpenHours> </Detail> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api"> <d2p1:ResultCode>1</d2p1:ResultCode> <d2p1:ResultMessage>sample string 2</d2p1:ResultMessage> </Result> </VenueController.GetInformationForWebResponse>