POST api/DingDingProgram/GetcheckItemList
获取点检项目大类
Request Information
URI Parameters
None.
Body Parameters
CheckItemListRequestName | Description | Type | Additional information |
---|---|---|---|
DataType |
项目类型 0:部门 1:个人 |
integer |
None. |
Code |
大类code |
string |
None. |
PlaceCode |
地点编码 |
string |
None. |
userID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DataType": 1, "Code": "sample string 1", "PlaceCode": "sample string 2", "userID": "sample string 3" }
application/xml, text/xml
Sample:
<CheckItemListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <userID>sample string 3</userID> <Code>sample string 1</Code> <DataType>1</DataType> <PlaceCode>sample string 2</PlaceCode> </CheckItemListRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CheckItemListResponseName | Description | Type | Additional information |
---|---|---|---|
list | Collection of EntityModel1 |
None. |
|
now_date | string |
None. |
|
Checked | integer |
None. |
|
UnChecked | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "list": [ { "name": "sample string 1", "code": "sample string 2", "start": "sample string 3", "end": "sample string 4", "to_emp": "sample string 5", "from_emp": "sample string 6" }, { "name": "sample string 1", "code": "sample string 2", "start": "sample string 3", "end": "sample string 4", "to_emp": "sample string 5", "from_emp": "sample string 6" } ], "now_date": "sample string 1", "Checked": 2, "UnChecked": 3 }
application/xml, text/xml
Sample:
<CheckItemListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <Checked>2</Checked> <UnChecked>3</UnChecked> <list> <EntityModel1> <code>sample string 2</code> <end>sample string 4</end> <from_emp>sample string 6</from_emp> <name>sample string 1</name> <start>sample string 3</start> <to_emp>sample string 5</to_emp> </EntityModel1> <EntityModel1> <code>sample string 2</code> <end>sample string 4</end> <from_emp>sample string 6</from_emp> <name>sample string 1</name> <start>sample string 3</start> <to_emp>sample string 5</to_emp> </EntityModel1> </list> <now_date>sample string 1</now_date> </CheckItemListResponse>