POST api/ORG_StaffPosAssign/EditORG_StaffPosAssignSubmit

Request Information

URI Parameters

None.

Body Parameters

ORG_StaffPosAssignDTO
NameDescriptionTypeAdditional information
Id

integer

None.

StaffID

integer

Required

PositionID

integer

Required

CreatedBy

integer

Required

CreatedOn

date

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StaffID": 2,
  "PositionID": 3,
  "CreatedBy": 4,
  "CreatedOn": "2018-12-12T02:12:06.4659307+08:00"
}

application/xml, text/xml

Sample:
<ORG_StaffPosAssignDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>4</CreatedBy>
  <CreatedOn>2018-12-12T02:12:06.4659307+08:00</CreatedOn>
  <Id>1</Id>
  <PositionID>3</PositionID>
  <StaffID>2</StaffID>
</ORG_StaffPosAssignDTO>

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

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>