POST api/portemp/EditportempSubmit

Request Information

URI Parameters

None.

Body Parameters

portempDTO
NameDescriptionTypeAdditional information
No

string

None.

EmpNo

string

None.

Name

string

None.

Pass

string

None.

FK_Dept

string

None.

FK_Duty

string

None.

Leader

string

None.

SID

string

None.

tel

string

None.

email

string

None.

NumOfDept

string

None.

Idx

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "No": "sample string 1",
  "EmpNo": "sample string 2",
  "Name": "sample string 3",
  "Pass": "sample string 4",
  "FK_Dept": "sample string 5",
  "FK_Duty": "sample string 6",
  "Leader": "sample string 7",
  "SID": "sample string 8",
  "tel": "sample string 9",
  "email": "sample string 10",
  "NumOfDept": "sample string 11",
  "Idx": "sample string 12",
  "Phone": "sample string 13"
}

application/xml, text/xml

Sample:
<portempDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <EmpNo>sample string 2</EmpNo>
  <FK_Dept>sample string 5</FK_Dept>
  <FK_Duty>sample string 6</FK_Duty>
  <Idx>sample string 12</Idx>
  <Leader>sample string 7</Leader>
  <Name>sample string 3</Name>
  <No>sample string 1</No>
  <NumOfDept>sample string 11</NumOfDept>
  <Pass>sample string 4</Pass>
  <Phone>sample string 13</Phone>
  <SID>sample string 8</SID>
  <email>sample string 10</email>
  <tel>sample string 9</tel>
</portempDTO>

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

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>