POST api/SunOA/NegotiationRoom_Booking

Request Information

URI Parameters

None.

Body Parameters

NegotiationRoom_Booking
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

integer

None.

AppointmentUser

string

None.

AppointmentDate

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

NRID

integer

None.

CardBorrowingTime

date

None.

CardReturnTime

date

None.

RoomUsage

string

None.

AddUID

integer

None.

OperatingUser

integer

None.

Del

boolean

None.

IsAdmin

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserID": 1,
  "AppointmentUser": "sample string 2",
  "AppointmentDate": "2024-11-21T17:42:32.8135794+08:00",
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "NRID": 6,
  "CardBorrowingTime": "2024-11-21T17:42:32.8135794+08:00",
  "CardReturnTime": "2024-11-21T17:42:32.8135794+08:00",
  "RoomUsage": "sample string 7",
  "AddUID": 8,
  "OperatingUser": 9,
  "Del": true,
  "IsAdmin": 10
}

application/xml, text/xml

Sample:
<NegotiationRoom_Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUID>8</AddUID>
  <AppointmentDate>2024-11-21T17:42:32.8135794+08:00</AppointmentDate>
  <AppointmentUser>sample string 2</AppointmentUser>
  <CardBorrowingTime>2024-11-21T17:42:32.8135794+08:00</CardBorrowingTime>
  <CardReturnTime>2024-11-21T17:42:32.8135794+08:00</CardReturnTime>
  <Del>true</Del>
  <EndTime>PT0.1234567S</EndTime>
  <ID>1</ID>
  <IsAdmin>10</IsAdmin>
  <NRID>6</NRID>
  <OperatingUser>9</OperatingUser>
  <RoomUsage>sample string 7</RoomUsage>
  <StartTime>PT0.1234567S</StartTime>
  <UserID>1</UserID>
</NegotiationRoom_Booking>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NegotiationRoom_Booking
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

integer

None.

AppointmentUser

string

None.

AppointmentDate

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

NRID

integer

None.

CardBorrowingTime

date

None.

CardReturnTime

date

None.

RoomUsage

string

None.

AddUID

integer

None.

OperatingUser

integer

None.

Del

boolean

None.

IsAdmin

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserID": 1,
  "AppointmentUser": "sample string 2",
  "AppointmentDate": "2024-11-21T17:42:32.8135794+08:00",
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "NRID": 6,
  "CardBorrowingTime": "2024-11-21T17:42:32.8135794+08:00",
  "CardReturnTime": "2024-11-21T17:42:32.8135794+08:00",
  "RoomUsage": "sample string 7",
  "AddUID": 8,
  "OperatingUser": 9,
  "Del": true,
  "IsAdmin": 10
}

application/xml, text/xml

Sample:
<NegotiationRoom_Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUID>8</AddUID>
  <AppointmentDate>2024-11-21T17:42:32.8135794+08:00</AppointmentDate>
  <AppointmentUser>sample string 2</AppointmentUser>
  <CardBorrowingTime>2024-11-21T17:42:32.8135794+08:00</CardBorrowingTime>
  <CardReturnTime>2024-11-21T17:42:32.8135794+08:00</CardReturnTime>
  <Del>true</Del>
  <EndTime>PT0.1234567S</EndTime>
  <ID>1</ID>
  <IsAdmin>10</IsAdmin>
  <NRID>6</NRID>
  <OperatingUser>9</OperatingUser>
  <RoomUsage>sample string 7</RoomUsage>
  <StartTime>PT0.1234567S</StartTime>
  <UserID>1</UserID>
</NegotiationRoom_Booking>