POST api/DingDingProgram/SearchList
抽检
Request Information
URI Parameters
None.
Body Parameters
SearchModalName | Description | Type | Additional information |
---|---|---|---|
depId | integer |
None. |
|
checkDate | string |
None. |
|
userID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "depId": 1, "checkDate": "sample string 2", "userID": "sample string 3" }
application/xml, text/xml
Sample:
<SearchModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <userID>sample string 3</userID> <checkDate>sample string 2</checkDate> <depId>1</depId> </SearchModal>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SearchResponseName | Description | Type | Additional information |
---|---|---|---|
result | boolean |
None. |
|
msg | string |
None. |
|
list | Collection of DailyCheckStatictisModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": true, "msg": "sample string 2", "list": [ { "id": 1, "pcode": "sample string 2", "ptitle": "sample string 3", "d_id": 4, "d_name": "sample string 5", "emp_id": 6, "is_check": 7, "item_type": 8, "check_date": "sample string 9" }, { "id": 1, "pcode": "sample string 2", "ptitle": "sample string 3", "d_id": 4, "d_name": "sample string 5", "emp_id": 6, "is_check": 7, "item_type": 8, "check_date": "sample string 9" } ] }
application/xml, text/xml
Sample:
<SearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/Xinminghui.Entity"> <d2p1:DailyCheckStatictisModel> <d2p1:check_date>sample string 9</d2p1:check_date> <d2p1:d_id>4</d2p1:d_id> <d2p1:d_name>sample string 5</d2p1:d_name> <d2p1:emp_id>6</d2p1:emp_id> <d2p1:id>1</d2p1:id> <d2p1:is_check>7</d2p1:is_check> <d2p1:item_type>8</d2p1:item_type> <d2p1:pcode>sample string 2</d2p1:pcode> <d2p1:ptitle>sample string 3</d2p1:ptitle> </d2p1:DailyCheckStatictisModel> <d2p1:DailyCheckStatictisModel> <d2p1:check_date>sample string 9</d2p1:check_date> <d2p1:d_id>4</d2p1:d_id> <d2p1:d_name>sample string 5</d2p1:d_name> <d2p1:emp_id>6</d2p1:emp_id> <d2p1:id>1</d2p1:id> <d2p1:is_check>7</d2p1:is_check> <d2p1:item_type>8</d2p1:item_type> <d2p1:pcode>sample string 2</d2p1:pcode> <d2p1:ptitle>sample string 3</d2p1:ptitle> </d2p1:DailyCheckStatictisModel> </list> <msg>sample string 2</msg> <result>true</result> </SearchResponse>