POST api/WFEmp/SaveItilFlowAuth

Request Information

URI Parameters

None.

Body Parameters

WFEmpDTO
NameDescriptionTypeAdditional information
No

string

None.

Name

string

None.

UseSta

integer

None.

Tel

string

None.

FK_Dept

string

None.

Email

string

None.

TM

string

None.

AlertWay

integer

None.

Author

string

None.

AuthorDate

string

None.

AuthorWay

integer

None.

AuthorToDate

string

None.

AuthorFlows

string

None.

Stas

string

None.

Depts

string

None.

FtpUrl

string

None.

Msg

string

None.

Style

string

None.

Idx

integer

None.

StaffID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "No": "sample string 1",
  "Name": "sample string 2",
  "UseSta": 1,
  "Tel": "sample string 3",
  "FK_Dept": "sample string 4",
  "Email": "sample string 5",
  "TM": "sample string 6",
  "AlertWay": 1,
  "Author": "sample string 7",
  "AuthorDate": "sample string 8",
  "AuthorWay": 1,
  "AuthorToDate": "sample string 9",
  "AuthorFlows": "sample string 10",
  "Stas": "sample string 11",
  "Depts": "sample string 12",
  "FtpUrl": "sample string 13",
  "Msg": "sample string 14",
  "Style": "sample string 15",
  "Idx": 1,
  "StaffID": 1
}

application/xml, text/xml

Sample:
<WFEmpDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AlertWay>1</AlertWay>
  <Author>sample string 7</Author>
  <AuthorDate>sample string 8</AuthorDate>
  <AuthorFlows>sample string 10</AuthorFlows>
  <AuthorToDate>sample string 9</AuthorToDate>
  <AuthorWay>1</AuthorWay>
  <Depts>sample string 12</Depts>
  <Email>sample string 5</Email>
  <FK_Dept>sample string 4</FK_Dept>
  <FtpUrl>sample string 13</FtpUrl>
  <Idx>1</Idx>
  <Msg>sample string 14</Msg>
  <Name>sample string 2</Name>
  <No>sample string 1</No>
  <StaffID>1</StaffID>
  <Stas>sample string 11</Stas>
  <Style>sample string 15</Style>
  <TM>sample string 6</TM>
  <Tel>sample string 3</Tel>
  <UseSta>1</UseSta>
</WFEmpDTO>

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 'WFEmpDTO'.

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>