**请求URL:** - ` http://xx.com/api/Home/getGKCodeList` **请求方式:** - GET **请求类型:** - Content-Type:application/x-www-from-urlencoded **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |fsid |是 |string |设备ID | |searchkey |是 |string |设备名称 | |villageId |是 |string | 一级组织标识 | |startTime |是 |string | 开始时间 | |enddate |是 |string | 结束时间 | |type |否 |string | 国康码类型 | **请求示例** ``` { "fsid":"61a84e1fe1e04ab5de6a861b", "searchkey":"考勤机", "villageId":"3b03ffafa9c24f3495dea01c", "startTime":"2019-01-01", "endTime":"2020-07-07", "type":"3 (0:未校验 1:黄码 2:红码 3:绿码)", } ``` **返回示例** ``` { "result": { "retcode": 0, "total": 1, "data":[{ "id": "606d184e929f1fe973d617c6", "gkType": 3, "gkCodeName": "肖**", "gkCodeAddr": "", "gkCodeDate": "", "gkCodeIDCard": "**************6039", "facesluiceId": "604b262ea1381a6d4d6aae97", "facesluiceName": "考勤机", "time": "2021-04-07T02:27:26Z", "pic": "https://lebopark.oss-cn-shenzhen.aliyuncs.com/face/ad491f2d-486b-4762-bf5b-653b9683cc7f.jpg", "arType": 0, "villageId": "3b03ffafa9c24f3495dea01c", "villageName": "测试一区", "type": 0, "temperature": 0, "temperatureAlarm": 0, "createDate": "2021-04-07T02:26:22.379Z", "strtime": null, "updateDate": null }], "message": "成功", "otherobj": 1, "hour": 0, "flag": 0, "villageId": null } } ``` **返回data参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |object |通行记录标识 | |gkType |int |国康码类型 (0:未校验 1:黄码 2:红码 3:绿码) | |gkCodeName |string | 国康码通行姓名 | |gkCodeAddr |string |14 天行程 | |gkCodeDate |string |14 天行程绑定时间 | |gkCodeIDCard |string |身份证号码 | |facesluiceId |object |设备标识 | |facesluiceName |string |设备名称 | |time |datetime |通行时间 | |pic |string |通行图片路径 | |arType |int |出入类型(0:进 1:出 2:无) | |villageId |object |一级组织标识 | |villageName |string |一级组织目名称 | |type |int |当前通行类型 | |createDate |datetime |数据创建时间 | |temperature |double |实时监测人脸温度 | |temperatureAlarm |string | 实时检测人脸温度是否超过阈值,0:没超过;1:超过(温度及其版本支持) |