POST api/ITILMsgAuthCode/EditITILMsgAuthCodeSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILMsgAuthCodeDTO
NameDescriptionTypeAdditional information
ID

integer

None.

StaffCode

string

None.

AuthCode

string

None.

Status

integer

None.

Vaildity

integer

None.

Count

integer

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "StaffCode": "sample string 2",
  "AuthCode": "sample string 3",
  "Status": 4,
  "Vaildity": 5,
  "Count": 6,
  "CreateDate": "2019-03-22T03:58:52.0278267+08:00"
}

application/xml, text/xml

Sample:
<ITILMsgAuthCodeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AuthCode>sample string 3</AuthCode>
  <Count>6</Count>
  <CreateDate>2019-03-22T03:58:52.0278267+08:00</CreateDate>
  <ID>1</ID>
  <StaffCode>sample string 2</StaffCode>
  <Status>4</Status>
  <Vaildity>5</Vaildity>
</ITILMsgAuthCodeDTO>

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

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>