GET api/Venue/GetPlanList?VenueId={VenueId}&RoomId={RoomId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VenueId | integer |
Required |
|
RoomId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
GetPlanListResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
PricePlanlist | PricingInformation |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "pricePlanlist": { "veneuId": 1, "veneuName": "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" } ], "roomPlan": [ { "roomId": 1, "roomName": "sample string 2", "totalPlan": 3, "standardPricePlan": { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 }, "pricingPlan": [ { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 }, { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 } ], "isRequireMinimumHour": true, "minimumHour": 1.0 }, { "roomId": 1, "roomName": "sample string 2", "totalPlan": 3, "standardPricePlan": { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 }, "pricingPlan": [ { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 }, { "planName": "sample string 1", "planId": 2, "effectiveDay": [ { "dayId": 1, "day": "sample string 2", "status": 3 }, { "dayId": 1, "day": "sample string 2", "status": 3 } ], "effectiveHour": { "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567" }, "capacity": "sample string 3", "roomRate": [ { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 }, { "roomRateId": 1, "roomRateName": "sample string 2", "price": 3.0 } ], "status": 4, "isStandardPlan": 5 } ], "isRequireMinimumHour": true, "minimumHour": 1.0 } ] } }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"pricePlanlist":{"veneuId":1,"veneuName":"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"}],"roomPlan":[{"roomId":1,"roomName":"sample string 2","totalPlan":3,"standardPricePlan":{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5},"pricingPlan":[{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5},{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5}],"isRequireMinimumHour":true,"minimumHour":1.0},{"roomId":1,"roomName":"sample string 2","totalPlan":3,"standardPricePlan":{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5},"pricingPlan":[{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5},{"planName":"sample string 1","planId":2,"effectiveDay":[{"dayId":1,"day":"sample string 2","status":3},{"dayId":1,"day":"sample string 2","status":3}],"effectiveHour":{"startTime":"00:00:00.1234567","stopTime":"00:00:00.1234567"},"capacity":"sample string 3","roomRate":[{"roomRateId":1,"roomRateName":"sample string 2","price":3.0},{"roomRateId":1,"roomRateName":"sample string 2","price":3.0}],"status":4,"isStandardPlan":5}],"isRequireMinimumHour":true,"minimumHour":1.0}]}}
application/xml, text/xml
Sample:
<VenueController.GetPlanListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <PricePlanlist xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <d2p1:OpenHours> <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> </d2p1:OpenHours> <d2p1:RoomPlan> <d2p1:RoomPlan> <d2p1:IsRequireMinimumHour>true</d2p1:IsRequireMinimumHour> <d2p1:MinimumHour>1</d2p1:MinimumHour> <d2p1:PricingPlan> <d2p1:PricingPlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:PricingPlan> <d2p1:PricingPlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:PricingPlan> </d2p1:PricingPlan> <d2p1:RoomId>1</d2p1:RoomId> <d2p1:RoomName>sample string 2</d2p1:RoomName> <d2p1:StandardPricePlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:StandardPricePlan> <d2p1:TotalPlan>3</d2p1:TotalPlan> </d2p1:RoomPlan> <d2p1:RoomPlan> <d2p1:IsRequireMinimumHour>true</d2p1:IsRequireMinimumHour> <d2p1:MinimumHour>1</d2p1:MinimumHour> <d2p1:PricingPlan> <d2p1:PricingPlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:PricingPlan> <d2p1:PricingPlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:PricingPlan> </d2p1:PricingPlan> <d2p1:RoomId>1</d2p1:RoomId> <d2p1:RoomName>sample string 2</d2p1:RoomName> <d2p1:StandardPricePlan> <d2p1:Capacity>sample string 3</d2p1:Capacity> <d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> <d2p1:EffectiveDay> <d2p1:Day>sample string 2</d2p1:Day> <d2p1:DayId>1</d2p1:DayId> <d2p1:Status>3</d2p1:Status> </d2p1:EffectiveDay> </d2p1:EffectiveDay> <d2p1:EffectiveHour> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:StopTime>PT0.1234567S</d2p1:StopTime> </d2p1:EffectiveHour> <d2p1:PlanId>2</d2p1:PlanId> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:RoomRate> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> <d2p1:RoomRateDetail> <d2p1:Price>3</d2p1:Price> <d2p1:RoomRateId>1</d2p1:RoomRateId> <d2p1:RoomRateName>sample string 2</d2p1:RoomRateName> </d2p1:RoomRateDetail> </d2p1:RoomRate> <d2p1:Status>4</d2p1:Status> <d2p1:isStandardPlan>5</d2p1:isStandardPlan> </d2p1:StandardPricePlan> <d2p1:TotalPlan>3</d2p1:TotalPlan> </d2p1:RoomPlan> </d2p1:RoomPlan> <d2p1:VeneuId>1</d2p1:VeneuId> <d2p1:VeneuName>sample string 2</d2p1:VeneuName> </PricePlanlist> <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.GetPlanListResponse>