GET api/Venue/GetPlan?RoomId={RoomId}&PlanId={PlanId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
RoomId | integer |
Required |
|
PlanId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetPlanResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
PricingPlan | Collection of PricingPlan |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "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 } ] }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"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}]}
application/xml, text/xml
Sample:
<VenueController.GetPlanResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <PricingPlan xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <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> </PricingPlan> <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.GetPlanResponse>