POST api/fesco/addchangeorder

Request Information

URI Parameters

None.

Body Parameters

ChangeOrder
NameDescriptionTypeAdditional information
iDeptId

integer

None.

sUserPhone

string

None.

dtChange

date

None.

sClientName

string

None.

sPosition

string

None.

iHeadcount

integer

None.

sWorkAddress

string

None.

sDuty

string

None.

dSalaryMin

decimal number

None.

dSalaryMax

decimal number

None.

sFileIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "iDeptId": 1,
  "sUserPhone": "sample string 1",
  "dtChange": "2024-10-17T00:25:29.189019+08:00",
  "sClientName": "sample string 2",
  "sPosition": "sample string 3",
  "iHeadcount": 1,
  "sWorkAddress": "sample string 4",
  "sDuty": "sample string 5",
  "dSalaryMin": 1.0,
  "dSalaryMax": 1.0,
  "sFileIds": "sample string 6"
}

application/xml, text/xml

Sample:
<ChangeOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Fesco.Entity.Entity">
  <dSalaryMax>1</dSalaryMax>
  <dSalaryMin>1</dSalaryMin>
  <dtChange>2024-10-17T00:25:29.189019+08:00</dtChange>
  <iDeptId>1</iDeptId>
  <iHeadcount>1</iHeadcount>
  <sClientName>sample string 2</sClientName>
  <sDuty>sample string 5</sDuty>
  <sFileIds>sample string 6</sFileIds>
  <sPosition>sample string 3</sPosition>
  <sUserPhone>sample string 1</sUserPhone>
  <sWorkAddress>sample string 4</sWorkAddress>
</ChangeOrder>

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
data

Object

None.

success

boolean

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {},
  "success": true,
  "code": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Fesco.Entity.Entity">
  <code>1</code>
  <data />
  <message>sample string 2</message>
  <success>true</success>
</Result>