POST api/Booking/Submit
Request Information
URI Parameters
None.
Body Parameters
SubmitBookingName | Description | Type | Additional information |
---|---|---|---|
RoomId | integer |
Required |
|
Attendance | integer |
Required |
|
MeetingDate | date |
Required |
|
MeetingStart | time interval |
Required |
|
MeetingFinish | time interval |
Required |
|
Roomrate | integer |
Required |
|
Token | string |
Required |
|
IsCard | integer |
Required |
|
SaveCard | integer |
None. |
|
ArrangementID | integer |
None. |
|
Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "roomId": 1, "attendance": 2, "meetingDate": "2025-08-29T01:09:34.4209877+00:00", "meetingStart": "00:00:00.1234567", "meetingFinish": "00:00:00.1234567", "roomrate": 6, "token": "sample string 7", "isCard": 8, "saveCard": 1, "arrangementID": 1, "note": "sample string 9" }
text/html
Sample:
{"roomId":1,"attendance":2,"meetingDate":"2025-08-29T01:09:34.4209877+00:00","meetingStart":"00:00:00.1234567","meetingFinish":"00:00:00.1234567","roomrate":6,"token":"sample string 7","isCard":8,"saveCard":1,"arrangementID":1,"note":"sample string 9"}
application/xml, text/xml
Sample:
<SubmitBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts"> <ArrangementID>1</ArrangementID> <Attendance>2</Attendance> <IsCard>8</IsCard> <MeetingDate>2025-08-29T01:09:34.4209877+00:00</MeetingDate> <MeetingFinish>PT0.1234567S</MeetingFinish> <MeetingStart>PT0.1234567S</MeetingStart> <Note>sample string 9</Note> <RoomId>1</RoomId> <Roomrate>6</Roomrate> <SaveCard>1</SaveCard> <Token>sample string 7</Token> </SubmitBooking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SubmitResponseName | Description | Type | Additional information |
---|---|---|---|
Result | ApiResult |
None. |
|
BookingDetail | BookingInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": { "resultCode": 1, "resultMessage": "sample string 2" }, "bookingDetail": { "bookingID": 1 } }
text/html
Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"bookingDetail":{"bookingID":1}}
application/xml, text/xml
Sample:
<BookingController.SubmitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers"> <BookingDetail> <BookingID>1</BookingID> </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.SubmitResponse>