POST api/RoomAvailability/ConFirmBooking
Request Information
URI Parameters
None.
Body Parameters
ConfirmBodyName | Description | Type | Additional information |
---|---|---|---|
VenueId | integer |
None. |
|
BookingId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "venueId": 1, "bookingId": 2 }
text/html
Sample:
{"venueId":1,"bookingId":2}
application/xml, text/xml
Sample:
<ConfirmBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <BookingId>2</BookingId> <VenueId>1</VenueId> </ConfirmBody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" } }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"}}
application/xml, text/xml
Sample:
<CommonModels.APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Models"> <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> </CommonModels.APIResponse>