POST api/DingDingProgram/DoScan
扫码 督察
Request Information
URI Parameters
None.
Body Parameters
ScanModalName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
userID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "userID": "sample string 2" }
application/xml, text/xml
Sample:
<ScanModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <userID>sample string 2</userID> <Code>sample string 1</Code> </ScanModal>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ScanResonseName | Description | Type | Additional information |
---|---|---|---|
title |
设备名 |
string |
None. |
code |
编号 |
string |
None. |
dep |
部门 |
string |
None. |
emp |
所属人 |
string |
None. |
emp_code | string |
None. |
|
description |
设备描述要求 |
string |
None. |
status |
设备维修状态-2:初始状态 -1撤销维修申请 0提出申请 1同意 10拒绝 2已维修 |
integer |
None. |
result | boolean |
None. |
|
msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "code": "sample string 2", "dep": "sample string 3", "emp": "sample string 4", "emp_code": "sample string 5", "description": "sample string 6", "status": 7, "result": true, "msg": "sample string 9" }
application/xml, text/xml
Sample:
<ScanResonse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <msg>sample string 9</msg> <result>true</result> <code>sample string 2</code> <dep>sample string 3</dep> <description>sample string 6</description> <emp>sample string 4</emp> <emp_code>sample string 5</emp_code> <status>7</status> <title>sample string 1</title> </ScanResonse>