GET api/Booking/Get?BookingId={BookingId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
BookingId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetBookingResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
BookingDetail | BookingDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "bookingDetail": { "meetingDate": "sample string 1", "meetingTime": "sample string 2", "attendance": "sample string 3", "venueName": "sample string 4", "venueAddress": "sample string 5", "roomName": "sample string 6", "roomImageUrl": "sample string 7", "arrangementId": 8, "arrangementName": "sample string 9", "arrangementImageUrl": "sample string 10", "provider": "sample string 11", "statusCode": 12, "status": "sample string 13", "bookingPayment": { "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"},"bookingDetail":{"meetingDate":"sample string 1","meetingTime":"sample string 2","attendance":"sample string 3","venueName":"sample string 4","venueAddress":"sample string 5","roomName":"sample string 6","roomImageUrl":"sample string 7","arrangementId":8,"arrangementName":"sample string 9","arrangementImageUrl":"sample string 10","provider":"sample string 11","statusCode":12,"status":"sample string 13","bookingPayment":{"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.GetBookingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <BookingDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts"> <d2p1:ArrangementId>8</d2p1:ArrangementId> <d2p1:ArrangementImageUrl>sample string 10</d2p1:ArrangementImageUrl> <d2p1:ArrangementName>sample string 9</d2p1:ArrangementName> <d2p1:Attendance>sample string 3</d2p1:Attendance> <d2p1:BookingPayment xmlns:d3p1="http://schemas.datacontract.org/2004/07/EB.Service.Services.Repositories.ModelRepositories"> <d3p1:Grandtotal>sample string 1</d3p1:Grandtotal> <d3p1:GrandtotalAmount>2</d3p1:GrandtotalAmount> <d3p1:PriceDetails> <d3p1:PriceDetail> <d3p1:EndTime>PT0.1234567S</d3p1:EndTime> <d3p1:PlanName>sample string 1</d3p1:PlanName> <d3p1:PlanTimeBlock>2.1</d3p1:PlanTimeBlock> <d3p1:RatePrice>5</d3p1:RatePrice> <d3p1:RateType>6</d3p1:RateType> <d3p1:RateTypeMessage>sample string 7</d3p1:RateTypeMessage> <d3p1:StartTime>PT0.1234567S</d3p1:StartTime> <d3p1:isStarndardPlan>8</d3p1:isStarndardPlan> </d3p1:PriceDetail> <d3p1:PriceDetail> <d3p1:EndTime>PT0.1234567S</d3p1:EndTime> <d3p1:PlanName>sample string 1</d3p1:PlanName> <d3p1:PlanTimeBlock>2.1</d3p1:PlanTimeBlock> <d3p1:RatePrice>5</d3p1:RatePrice> <d3p1:RateType>6</d3p1:RateType> <d3p1:RateTypeMessage>sample string 7</d3p1:RateTypeMessage> <d3p1:StartTime>PT0.1234567S</d3p1:StartTime> <d3p1:isStarndardPlan>8</d3p1:isStarndardPlan> </d3p1:PriceDetail> </d3p1:PriceDetails> </d2p1:BookingPayment> <d2p1:MeetingDate>sample string 1</d2p1:MeetingDate> <d2p1:MeetingTime>sample string 2</d2p1:MeetingTime> <d2p1:Provider>sample string 11</d2p1:Provider> <d2p1:RoomImageUrl>sample string 7</d2p1:RoomImageUrl> <d2p1:RoomName>sample string 6</d2p1:RoomName> <d2p1:Status>sample string 13</d2p1:Status> <d2p1:StatusCode>12</d2p1:StatusCode> <d2p1:VenueAddress>sample string 5</d2p1:VenueAddress> <d2p1:VenueName>sample string 4</d2p1:VenueName> </BookingDetail> <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.GetBookingResponse>