POST api/booking/{siteid}/{roomid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteid

integer

Required

roomid

integer

Required

Body Parameters

TblBook
NameDescriptionTypeAdditional information
Booking_Date

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

Book_Id

integer

None.

Booking_RefNo

string

None.

Meeting_Name

string

None.

Meeting_Type

string

None.

Cost_Center

string

None.

Telephone_No

string

None.

StartDate

date

None.

EndDate

date

None.

Price

decimal number

None.

Name

string

None.

Email

string

None.

Approver_Name

string

None.

Approver_Email

string

None.

Status

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

Room_Id

integer

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "booking_Date": "2024-11-19T12:40:54.1008978+08:00",
  "startTime": "00:00:00.1234567",
  "endTime": "00:00:00.1234567",
  "book_Id": 4,
  "booking_RefNo": "sample string 5",
  "meeting_Name": "sample string 6",
  "meeting_Type": "sample string 7",
  "cost_Center": "sample string 8",
  "telephone_No": "sample string 9",
  "startDate": "2024-11-19T12:40:54.1008978+08:00",
  "endDate": "2024-11-19T12:40:54.1008978+08:00",
  "price": 1.1,
  "name": "sample string 10",
  "email": "sample string 11",
  "approver_Name": "sample string 12",
  "approver_Email": "sample string 13",
  "status": "sample string 14",
  "createdBy": "sample string 15",
  "createdDate": "2024-11-19T12:40:54.1164665+08:00",
  "room_Id": 1,
  "remarks": "sample string 16"
}

application/xml, text/xml

Sample:
<TblBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PRC.Web.API">
  <Approver_Email>sample string 13</Approver_Email>
  <Approver_Name>sample string 12</Approver_Name>
  <Book_Id>4</Book_Id>
  <Booking_Date>2024-11-19T12:40:54.1008978+08:00</Booking_Date>
  <Booking_RefNo>sample string 5</Booking_RefNo>
  <Cost_Center>sample string 8</Cost_Center>
  <CreatedBy>sample string 15</CreatedBy>
  <CreatedDate>2024-11-19T12:40:54.1164665+08:00</CreatedDate>
  <Email>sample string 11</Email>
  <EndDate>2024-11-19T12:40:54.1008978+08:00</EndDate>
  <EndTime>PT0.1234567S</EndTime>
  <Meeting_Name>sample string 6</Meeting_Name>
  <Meeting_Type>sample string 7</Meeting_Type>
  <Name>sample string 10</Name>
  <Price>1.1</Price>
  <Remarks>sample string 16</Remarks>
  <Room_Id>1</Room_Id>
  <StartDate>2024-11-19T12:40:54.1008978+08:00</StartDate>
  <StartTime>PT0.1234567S</StartTime>
  <Status>sample string 14</Status>
  <Telephone_No>sample string 9</Telephone_No>
</TblBook>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.