POST api/SunOA/PI_Room_Affiliation_Info

添加用房/挂所信息

Request Information

URI Parameters

None.

Body Parameters

PI_Room_Affiliation_Info
NameDescriptionTypeAdditional information
OfficeRoomNumber

string

None.

DoorCardID

string

None.

ReceiveDate

string

None.

ReturnDate

string

None.

ContractPeriodStart

string

None.

ContractPeriodEnd

string

None.

ContractNo

string

None.

ID

integer

None.

UserId

integer

None.

SignedContractDate

date

None.

IntoPlace

string

None.

IntoTime

date

None.

ApplyTurnTime

date

None.

OutTime

date

None.

OutPlace

string

None.

RARamark

string

None.

AddUserId

integer

None.

SysTimeStart

date

None.

SysTimeEnd

date

None.

Request Formats

application/json, text/json

Sample:
{
  "OfficeRoomNumber": "sample string 1",
  "DoorCardID": "sample string 2",
  "ReceiveDate": "sample string 3",
  "ReturnDate": "sample string 4",
  "ContractPeriodStart": "sample string 5",
  "ContractPeriodEnd": "sample string 6",
  "ContractNo": "sample string 7",
  "ID": 8,
  "UserId": 9,
  "SignedContractDate": "2024-11-21T18:00:33.4519261+08:00",
  "IntoPlace": "sample string 10",
  "IntoTime": "2024-11-21T18:00:33.4519261+08:00",
  "ApplyTurnTime": "2024-11-21T18:00:33.4519261+08:00",
  "OutTime": "2024-11-21T18:00:33.4519261+08:00",
  "OutPlace": "sample string 11",
  "RARamark": "sample string 12",
  "AddUserId": 1,
  "SysTimeStart": "2024-11-21T18:00:33.4519261+08:00",
  "SysTimeEnd": "2024-11-21T18:00:33.4519261+08:00"
}

application/xml, text/xml

Sample:
<PI_Room_Affiliation_Info xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUserId>1</AddUserId>
  <ApplyTurnTime>2024-11-21T18:00:33.4519261+08:00</ApplyTurnTime>
  <ContractNo>sample string 7</ContractNo>
  <ContractPeriodEnd>sample string 6</ContractPeriodEnd>
  <ContractPeriodStart>sample string 5</ContractPeriodStart>
  <DoorCardID>sample string 2</DoorCardID>
  <ID>8</ID>
  <IntoPlace>sample string 10</IntoPlace>
  <IntoTime>2024-11-21T18:00:33.4519261+08:00</IntoTime>
  <OfficeRoomNumber>sample string 1</OfficeRoomNumber>
  <OutPlace>sample string 11</OutPlace>
  <OutTime>2024-11-21T18:00:33.4519261+08:00</OutTime>
  <RARamark>sample string 12</RARamark>
  <ReceiveDate>sample string 3</ReceiveDate>
  <ReturnDate>sample string 4</ReturnDate>
  <SignedContractDate>2024-11-21T18:00:33.4519261+08:00</SignedContractDate>
  <SysTimeEnd>2024-11-21T18:00:33.4519261+08:00</SysTimeEnd>
  <SysTimeStart>2024-11-21T18:00:33.4519261+08:00</SysTimeStart>
  <UserId>9</UserId>
</PI_Room_Affiliation_Info>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PI_Room_Affiliation_Info
NameDescriptionTypeAdditional information
OfficeRoomNumber

string

None.

DoorCardID

string

None.

ReceiveDate

string

None.

ReturnDate

string

None.

ContractPeriodStart

string

None.

ContractPeriodEnd

string

None.

ContractNo

string

None.

ID

integer

None.

UserId

integer

None.

SignedContractDate

date

None.

IntoPlace

string

None.

IntoTime

date

None.

ApplyTurnTime

date

None.

OutTime

date

None.

OutPlace

string

None.

RARamark

string

None.

AddUserId

integer

None.

SysTimeStart

date

None.

SysTimeEnd

date

None.

Response Formats

application/json, text/json

Sample:
{
  "OfficeRoomNumber": "sample string 1",
  "DoorCardID": "sample string 2",
  "ReceiveDate": "sample string 3",
  "ReturnDate": "sample string 4",
  "ContractPeriodStart": "sample string 5",
  "ContractPeriodEnd": "sample string 6",
  "ContractNo": "sample string 7",
  "ID": 8,
  "UserId": 9,
  "SignedContractDate": "2024-11-21T18:00:33.4519261+08:00",
  "IntoPlace": "sample string 10",
  "IntoTime": "2024-11-21T18:00:33.4519261+08:00",
  "ApplyTurnTime": "2024-11-21T18:00:33.4519261+08:00",
  "OutTime": "2024-11-21T18:00:33.4519261+08:00",
  "OutPlace": "sample string 11",
  "RARamark": "sample string 12",
  "AddUserId": 1,
  "SysTimeStart": "2024-11-21T18:00:33.4519261+08:00",
  "SysTimeEnd": "2024-11-21T18:00:33.4519261+08:00"
}

application/xml, text/xml

Sample:
<PI_Room_Affiliation_Info xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <AddUserId>1</AddUserId>
  <ApplyTurnTime>2024-11-21T18:00:33.4519261+08:00</ApplyTurnTime>
  <ContractNo>sample string 7</ContractNo>
  <ContractPeriodEnd>sample string 6</ContractPeriodEnd>
  <ContractPeriodStart>sample string 5</ContractPeriodStart>
  <DoorCardID>sample string 2</DoorCardID>
  <ID>8</ID>
  <IntoPlace>sample string 10</IntoPlace>
  <IntoTime>2024-11-21T18:00:33.4519261+08:00</IntoTime>
  <OfficeRoomNumber>sample string 1</OfficeRoomNumber>
  <OutPlace>sample string 11</OutPlace>
  <OutTime>2024-11-21T18:00:33.4519261+08:00</OutTime>
  <RARamark>sample string 12</RARamark>
  <ReceiveDate>sample string 3</ReceiveDate>
  <ReturnDate>sample string 4</ReturnDate>
  <SignedContractDate>2024-11-21T18:00:33.4519261+08:00</SignedContractDate>
  <SysTimeEnd>2024-11-21T18:00:33.4519261+08:00</SysTimeEnd>
  <SysTimeStart>2024-11-21T18:00:33.4519261+08:00</SysTimeStart>
  <UserId>9</UserId>
</PI_Room_Affiliation_Info>