POST api/DingDingProgram/LoadRecord
获取点检记录
Request Information
URI Parameters
None.
Body Parameters
CheckItemListRequest| Name | 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
CheckItemRecordResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| error_code | string |
None. |
|
| error_msg | string |
None. |
|
| list | Collection of CheckItemRecord |
None. |
Response Formats
application/json, text/json
Sample:
{
"error_code": "sample string 1",
"error_msg": "sample string 2",
"list": [
{
"itemType": 1,
"pcode": "sample string 2",
"ptitle": "sample string 3",
"detailList": [
{
"pcode": "sample string 1",
"code": "sample string 2",
"title": "sample string 3",
"check_remark": "sample string 4",
"check_pic": "sample string 5",
"check_video": "sample string 6",
"check_man": "sample string 7",
"itemType": 8,
"demo_img": "sample string 9"
},
{
"pcode": "sample string 1",
"code": "sample string 2",
"title": "sample string 3",
"check_remark": "sample string 4",
"check_pic": "sample string 5",
"check_video": "sample string 6",
"check_man": "sample string 7",
"itemType": 8,
"demo_img": "sample string 9"
}
]
},
{
"itemType": 1,
"pcode": "sample string 2",
"ptitle": "sample string 3",
"detailList": [
{
"pcode": "sample string 1",
"code": "sample string 2",
"title": "sample string 3",
"check_remark": "sample string 4",
"check_pic": "sample string 5",
"check_video": "sample string 6",
"check_man": "sample string 7",
"itemType": 8,
"demo_img": "sample string 9"
},
{
"pcode": "sample string 1",
"code": "sample string 2",
"title": "sample string 3",
"check_remark": "sample string 4",
"check_pic": "sample string 5",
"check_video": "sample string 6",
"check_man": "sample string 7",
"itemType": 8,
"demo_img": "sample string 9"
}
]
}
]
}
application/xml, text/xml
Sample:
<CheckItemRecordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
<error_code>sample string 1</error_code>
<error_msg>sample string 2</error_msg>
<list>
<CheckItemRecord>
<detailList>
<CheckItemRecordDetail>
<check_man>sample string 7</check_man>
<check_pic>sample string 5</check_pic>
<check_remark>sample string 4</check_remark>
<check_video>sample string 6</check_video>
<code>sample string 2</code>
<demo_img>sample string 9</demo_img>
<itemType>8</itemType>
<pcode>sample string 1</pcode>
<title>sample string 3</title>
</CheckItemRecordDetail>
<CheckItemRecordDetail>
<check_man>sample string 7</check_man>
<check_pic>sample string 5</check_pic>
<check_remark>sample string 4</check_remark>
<check_video>sample string 6</check_video>
<code>sample string 2</code>
<demo_img>sample string 9</demo_img>
<itemType>8</itemType>
<pcode>sample string 1</pcode>
<title>sample string 3</title>
</CheckItemRecordDetail>
</detailList>
<itemType>1</itemType>
<pcode>sample string 2</pcode>
<ptitle>sample string 3</ptitle>
</CheckItemRecord>
<CheckItemRecord>
<detailList>
<CheckItemRecordDetail>
<check_man>sample string 7</check_man>
<check_pic>sample string 5</check_pic>
<check_remark>sample string 4</check_remark>
<check_video>sample string 6</check_video>
<code>sample string 2</code>
<demo_img>sample string 9</demo_img>
<itemType>8</itemType>
<pcode>sample string 1</pcode>
<title>sample string 3</title>
</CheckItemRecordDetail>
<CheckItemRecordDetail>
<check_man>sample string 7</check_man>
<check_pic>sample string 5</check_pic>
<check_remark>sample string 4</check_remark>
<check_video>sample string 6</check_video>
<code>sample string 2</code>
<demo_img>sample string 9</demo_img>
<itemType>8</itemType>
<pcode>sample string 1</pcode>
<title>sample string 3</title>
</CheckItemRecordDetail>
</detailList>
<itemType>1</itemType>
<pcode>sample string 2</pcode>
<ptitle>sample string 3</ptitle>
</CheckItemRecord>
</list>
</CheckItemRecordResponse>