POST User/Sys_Dept/Edit

Request Information

URI Parameters

None.

Body Parameters

Sys_Dept
NameDescriptionTypeAdditional information
IID

integer

None.

Dept_Name

string

None.

Dept_Code

string

None.

Sort

integer

None.

Company_Name

string

None.

SerialNumber

integer

None.

Year

integer

None.

Month

integer

None.

TPSerialNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IID": 1,
  "Dept_Name": "sample string 2",
  "Dept_Code": "sample string 3",
  "Sort": 1,
  "Company_Name": "sample string 4",
  "SerialNumber": 1,
  "Year": 1,
  "Month": 1,
  "TPSerialNumber": 1
}

application/xml, text/xml

Sample:
<Sys_Dept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
  <Company_Name>sample string 4</Company_Name>
  <Dept_Code>sample string 3</Dept_Code>
  <Dept_Name>sample string 2</Dept_Name>
  <IID>1</IID>
  <Month>1</Month>
  <SerialNumber>1</SerialNumber>
  <Sort>1</Sort>
  <TPSerialNumber>1</TPSerialNumber>
  <Year>1</Year>
</Sys_Dept>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

Key

string

None.

FileName

string

None.

FilePageCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "Key": "sample string 4",
  "FileName": "sample string 5",
  "FilePageCount": 6
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <FileName>sample string 5</FileName>
  <FilePageCount>6</FilePageCount>
  <Key>sample string 4</Key>
  <Msg>sample string 2</Msg>
  <Success>1</Success>
  <Token>sample string 3</Token>
</BaseResult>