POST api/FormAttr/EditFormAttrSubmit

Request Information

URI Parameters

None.

Body Parameters

FormAttrDTO
NameDescriptionTypeAdditional information
FormAttrName

string

None.

FormAttrRemark

string

None.

Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FormAttrName": "sample string 1",
  "FormAttrRemark": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<FormAttrDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 5</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-03-20T10:54:39.6842281+08:00</CreateTime>
  <Id>3</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 4</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-03-20T10:54:39.6842281+08:00</ModifyTime>
  <FormAttrName>sample string 1</FormAttrName>
  <FormAttrRemark>sample string 2</FormAttrRemark>
</FormAttrDTO>

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

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>