POST Api/Duty/UpdateDutyCompletion

Request Information

URI Parameters

None.

Body Parameters

PAL_Duty
NameDescriptionTypeAdditional information
userID

integer

None.

completionID

integer

None.

completionStatus

string

None.

remark

integer

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "completionID": 2,
  "completionStatus": "sample string 3",
  "remark": 4,
  "opCode": 5,
  "isException": true,
  "exceptionMessage": "sample string 7",
  "ds": null
}

application/xml, text/xml

Sample:
<PAL_Duty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERAERPAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 7</exceptionMessage>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">5</opCode>
  <completionID>2</completionID>
  <completionStatus>sample string 3</completionStatus>
  <remark>4</remark>
  <userID>1</userID>
</PAL_Duty>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.