POST api/DingDingProgram/SubmitPunishData

提交数据

Request Information

URI Parameters

None.

Body Parameters

SubmitPunishDataRequest
NameDescriptionTypeAdditional information
emp_code

责任人

string

None.

reason

处罚原因

string

None.

img

现场图片

string

None.

device_status

设备状态

integer

None.

item_code

string

None.

userID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emp_code": "sample string 1",
  "reason": "sample string 2",
  "img": "sample string 3",
  "device_status": 4,
  "item_code": "sample string 5",
  "userID": "sample string 6"
}

application/xml, text/xml

Sample:
<SubmitPunishDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <userID>sample string 6</userID>
  <device_status>4</device_status>
  <emp_code>sample string 1</emp_code>
  <img>sample string 3</img>
  <item_code>sample string 5</item_code>
  <reason>sample string 2</reason>
</SubmitPunishDataRequest>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>