POST api/Booking/EditWebSubmit

Request Information

URI Parameters

None.

Body Parameters

WebSubmitBookingModel
NameDescriptionTypeAdditional information
BookingId

integer

None.

RoomId

integer

None.

Attendance

integer

None.

MeetingDate

date

None.

MeetingStart

time interval

None.

MeetingFinish

time interval

None.

Price

decimal number

None.

FirstName

string

None.

LastName

string

None.

ArrangementID

integer

None.

PhoneNumber

string

None.

Note

string

None.

ConfirmStatus

integer

None.

EventTitle

string

None.

EventTypeId

EventTypeEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "bookingId": 1,
  "roomId": 2,
  "attendance": 3,
  "meetingDate": "2025-08-29T01:09:35.3223697+00:00",
  "meetingStart": "00:00:00.1234567",
  "meetingFinish": "00:00:00.1234567",
  "price": 7.0,
  "firstName": "sample string 8",
  "lastName": "sample string 9",
  "arrangementID": 1,
  "phoneNumber": "sample string 10",
  "note": "sample string 11",
  "confirmStatus": 12,
  "eventTitle": "sample string 13",
  "eventTypeId": 18
}

text/html

Sample:
{"bookingId":1,"roomId":2,"attendance":3,"meetingDate":"2025-08-29T01:09:35.3223697+00:00","meetingStart":"00:00:00.1234567","meetingFinish":"00:00:00.1234567","price":7.0,"firstName":"sample string 8","lastName":"sample string 9","arrangementID":1,"phoneNumber":"sample string 10","note":"sample string 11","confirmStatus":12,"eventTitle":"sample string 13","eventTypeId":18}

application/xml, text/xml

Sample:
<WebSubmitBookingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts">
  <ArrangementID>1</ArrangementID>
  <Attendance>3</Attendance>
  <BookingId>1</BookingId>
  <ConfirmStatus>12</ConfirmStatus>
  <EventTitle>sample string 13</EventTitle>
  <EventTypeId>ProductLunch</EventTypeId>
  <FirstName>sample string 8</FirstName>
  <LastName>sample string 9</LastName>
  <MeetingDate>2025-08-29T01:09:35.3223697+00:00</MeetingDate>
  <MeetingFinish>PT0.1234567S</MeetingFinish>
  <MeetingStart>PT0.1234567S</MeetingStart>
  <Note>sample string 11</Note>
  <PhoneNumber>sample string 10</PhoneNumber>
  <Price>7</Price>
  <RoomId>2</RoomId>
</WebSubmitBookingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SubmitResponse
NameDescriptionTypeAdditional 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>