POST api/ITILOperateRoomAssign/EditITILOperateRoomAssignSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILOperateRoomAssignDTO
NameDescriptionTypeAdditional information
Id

integer

None.

BillNo

string

String length: inclusive between 0 and 50

CardNum

string

String length: inclusive between 0 and 10

StaffName

string

String length: inclusive between 0 and 50

Type

string

String length: inclusive between 0 and 10

Depatment

string

String length: inclusive between 0 and 100

IDCard

string

String length: inclusive between 0 and 100

CreateDate

date

None.

IsCheck

string

String length: inclusive between 0 and 50

IsReside

string

String length: inclusive between 0 and 50

Tel

string

String length: inclusive between 0 and 50

OpeationRoom

boolean

None.

AutoDoor

boolean

None.

SignState

string

String length: inclusive between 0 and 1

SignInDate

date

None.

SignOutDate

date

None.

WorkCardNum

string

String length: inclusive between 0 and 50

FromDate

date

None.

ToDate

date

None.

ApplyName

string

String length: inclusive between 0 and 50

Source

string

String length: inclusive between 0 and 1

IsRun

string

String length: inclusive between 0 and 1

Status

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BillNo": "sample string 2",
  "CardNum": "sample string 3",
  "StaffName": "sample string 4",
  "Type": "sample string 5",
  "Depatment": "sample string 6",
  "IDCard": "sample string 7",
  "CreateDate": "2018-12-15T09:43:36.7315833+08:00",
  "IsCheck": "sample string 9",
  "IsReside": "sample string 10",
  "Tel": "sample string 11",
  "OpeationRoom": true,
  "AutoDoor": true,
  "SignState": "sample string 14",
  "SignInDate": "2018-12-15T09:43:36.7315833+08:00",
  "SignOutDate": "2018-12-15T09:43:36.7315833+08:00",
  "WorkCardNum": "sample string 15",
  "FromDate": "2018-12-15T09:43:36.7315833+08:00",
  "ToDate": "2018-12-15T09:43:36.7315833+08:00",
  "ApplyName": "sample string 16",
  "Source": "sample string 17",
  "IsRun": "sample string 18",
  "Status": "sample string 19"
}

application/xml, text/xml

Sample:
<ITILOperateRoomAssignDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ApplyName>sample string 16</ApplyName>
  <AutoDoor>true</AutoDoor>
  <BillNo>sample string 2</BillNo>
  <CardNum>sample string 3</CardNum>
  <CreateDate>2018-12-15T09:43:36.7315833+08:00</CreateDate>
  <Depatment>sample string 6</Depatment>
  <FromDate>2018-12-15T09:43:36.7315833+08:00</FromDate>
  <IDCard>sample string 7</IDCard>
  <Id>1</Id>
  <IsCheck>sample string 9</IsCheck>
  <IsReside>sample string 10</IsReside>
  <IsRun>sample string 18</IsRun>
  <OpeationRoom>true</OpeationRoom>
  <SignInDate>2018-12-15T09:43:36.7315833+08:00</SignInDate>
  <SignOutDate>2018-12-15T09:43:36.7315833+08:00</SignOutDate>
  <SignState>sample string 14</SignState>
  <Source>sample string 17</Source>
  <StaffName>sample string 4</StaffName>
  <Status>sample string 19</Status>
  <Tel>sample string 11</Tel>
  <ToDate>2018-12-15T09:43:36.7315833+08:00</ToDate>
  <Type>sample string 5</Type>
  <WorkCardNum>sample string 15</WorkCardNum>
</ITILOperateRoomAssignDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ITILOperateRoomAssignDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>