POST api/DingDingProgram/DailyCheckAudit

保存点检判定

Request Information

URI Parameters

None.

Body Parameters

DailyCheckAuditRequest
NameDescriptionTypeAdditional information
id

主键id

integer

None.

is_pass_check

是否合格(1合格 0不合格)

integer

None.

pass_reason

备注

string

None.

pass_check_pic

判定图片(最多上传三张)

Collection of string

None.

pass_check_video

视频地址

string

None.

userID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "is_pass_check": 2,
  "pass_reason": "sample string 3",
  "pass_check_pic": [
    "sample string 1",
    "sample string 2"
  ],
  "pass_check_video": "sample string 4",
  "userID": "sample string 5"
}

application/xml, text/xml

Sample:
<DailyCheckAuditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <userID>sample string 5</userID>
  <id>1</id>
  <is_pass_check>2</is_pass_check>
  <pass_check_pic xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </pass_check_pic>
  <pass_check_video>sample string 4</pass_check_video>
  <pass_reason>sample string 3</pass_reason>
</DailyCheckAuditRequest>

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

Response Information

Resource Description

CommonResponse
NameDescriptionTypeAdditional information
result

执行结果 true成功 false失败

boolean

None.

msg

接口返回信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": true,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <msg>sample string 2</msg>
  <result>true</result>
</CommonResponse>