GET api/Booking/GetPrice?Roomid={Roomid}&MeetingDate={MeetingDate}&MeetingStart={MeetingStart}&MeetingEnd={MeetingEnd}&Attandance={Attandance}&arrangementId={arrangementId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Roomid | integer |
Required |
|
MeetingDate | date |
Required |
|
MeetingStart | time interval |
Required |
|
MeetingEnd | time interval |
Required |
|
Attandance | integer |
None. |
|
arrangementId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
GetPriceResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
Price | ListPlanPriceDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "price": { "priceDetails": [ { "planName": "sample string 1", "planTimeBlock": 2.1, "startTime": "00:00:00.1234567", "endTime": "00:00:00.1234567", "ratePrice": 5.0, "rateType": 6, "rateTypeMessage": "sample string 7", "isStarndardPlan": 8 }, { "planName": "sample string 1", "planTimeBlock": 2.1, "startTime": "00:00:00.1234567", "endTime": "00:00:00.1234567", "ratePrice": 5.0, "rateType": 6, "rateTypeMessage": "sample string 7", "isStarndardPlan": 8 } ], "grandtotal": "sample string 1", "grandtotalAmount": 2 } }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"price":{"priceDetails":[{"planName":"sample string 1","planTimeBlock":2.1,"startTime":"00:00:00.1234567","endTime":"00:00:00.1234567","ratePrice":5.0,"rateType":6,"rateTypeMessage":"sample string 7","isStarndardPlan":8},{"planName":"sample string 1","planTimeBlock":2.1,"startTime":"00:00:00.1234567","endTime":"00:00:00.1234567","ratePrice":5.0,"rateType":6,"rateTypeMessage":"sample string 7","isStarndardPlan":8}],"grandtotal":"sample string 1","grandtotalAmount":2}}
application/xml, text/xml
Sample:
<BookingController.GetPriceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <Price xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <d2p1:Grandtotal>sample string 1</d2p1:Grandtotal> <d2p1:GrandtotalAmount>2</d2p1:GrandtotalAmount> <d2p1:PriceDetails> <d2p1:PriceDetail> <d2p1:EndTime>PT0.1234567S</d2p1:EndTime> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:PlanTimeBlock>2.1</d2p1:PlanTimeBlock> <d2p1:RatePrice>5</d2p1:RatePrice> <d2p1:RateType>6</d2p1:RateType> <d2p1:RateTypeMessage>sample string 7</d2p1:RateTypeMessage> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:isStarndardPlan>8</d2p1:isStarndardPlan> </d2p1:PriceDetail> <d2p1:PriceDetail> <d2p1:EndTime>PT0.1234567S</d2p1:EndTime> <d2p1:PlanName>sample string 1</d2p1:PlanName> <d2p1:PlanTimeBlock>2.1</d2p1:PlanTimeBlock> <d2p1:RatePrice>5</d2p1:RatePrice> <d2p1:RateType>6</d2p1:RateType> <d2p1:RateTypeMessage>sample string 7</d2p1:RateTypeMessage> <d2p1:StartTime>PT0.1234567S</d2p1:StartTime> <d2p1:isStarndardPlan>8</d2p1:isStarndardPlan> </d2p1:PriceDetail> </d2p1:PriceDetails> </Price> <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> </BookingController.GetPriceResponse>