GET api/Venue/GetVenueOpenHours?VenueId={VenueId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VenueId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetVenueOpenHoursResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
OpenHours | Collection of VenueOpenHour |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "openHours": [ { "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"},"openHours":[{"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.GetVenueOpenHoursResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <OpenHours xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <d2p1:VenueOpenHour> <d2p1:CloseTime>PT0.1234567S</d2p1:CloseTime> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:OpenTime>PT0.1234567S</d2p1:OpenTime> <d2p1:Status>3</d2p1:Status> </d2p1:VenueOpenHour> <d2p1:VenueOpenHour> <d2p1:CloseTime>PT0.1234567S</d2p1:CloseTime> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:OpenTime>PT0.1234567S</d2p1:OpenTime> <d2p1:Status>3</d2p1:Status> </d2p1:VenueOpenHour> </OpenHours> <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.GetVenueOpenHoursResponse>