根据编号查询终端配置-小娇
[TOC]
客户端-根据设备编号查询终端配置
- API路径: `/idsp/api/sys/terminalconf/getByDeviceNo/{deviceNo}
- 请求类型:
HTTP GET
-
请求头:
Content-Type:application/json;charset=UTF-8
- 请求体:
json
- 响应体:
json
{
"flag": 1,
"totalCount": 0,
"msg": null,
"data": {
"orgTypeCn": "鉴定机构",
"syncTime": 同步时间,毫秒,
"deviceName": "设备名称1",
"mac": "MAC",
"cjsj": "创建时间:2022-01-05 09:39:53",
"orgType": "1",
"inkboxStateCn": "正常",
"scbs": "0",
"xgrId": "052ac55382b648099fe1de7b42d9c34e",
"id": "298888977e27e480017e27e480af0000",
"paperStateCn": "正常",
"paperState": "纸张状态(1、正常 2、即将缺纸 3、已缺纸4、打印机卡纸)",
"maintainStateCn": "已维护",
"deviceStateCn": "在线",
"inkboxState": "墨盒状态(1、正常 2、即将缺墨 3、墨量不足)",
"ip": "IP",
"deviceNo": "设备编号",
"installPosition": "安装位置1",
"maintainState": "是否待维护(0、待维护,1、已维护)",
"deviceState": "设备状态(1、在线 2、离线)",
"serviceState":"服务状态(1、正常 2、打印服务异常 3、双目服务异常 4、广角服务异常 5、二维码服务异常 6、身份证服务异常)",
"terminalConfOrgRelList": [
{
"orgName": "机构或者委托单位名称",
"terminalConfId": "终端主键ID",
"orgType": "使用单位类型(1、鉴定机构 2、委托单位)",
"orgCode": "机构或者委托单位代码",
"id": "2988888f7e5696f2017e575ac2fc0012"
}
],
"xgsj": "修改时间:2022-01-05 10:15:52"
},
"extraRes": null
}
- 请求体测试数据:
json
- 响应体测试数据:
json
{
"flag": 1,
"totalCount": 0,
"msg": null,
"data": {
"orgTypeCn": "鉴定机构",
"syncTime": 0,
"deviceName": "设备名称1",
"mac": "00-01-DC-0H-00-09",
"cjsj": "2022-01-05 09:39:53",
"orgType": "1",
"inkboxStateCn": "正常",
"scbs": "0",
"xgrId": "052ac55382b648099fe1de7b42d9c34e",
"rowNum": 0,
"end": 0,
"id": "298888977e27e480017e27e480af0000",
"paperStateCn": "正常",
"paperState": "1",
"maintainStateCn": "已维护",
"deviceStateCn": "在线",
"inkboxState": "1",
"ip": "192.168.15.19:58879",
"deviceNo": "2021DP0001",
"version": 0,
"installPosition": "安装位置1",
"maintainState": "1",
"deviceState": "1",
"begin": 0,
"terminalConfOrgRelList": [
{
"cjrId": "fb0b4bd70ce340af94202af98bfd2ff2",
"orgName": "厦门市公安局物证鉴定所",
"version": 0,
"cjsj": "1970-01-01 14:51:13",
"terminalConfId": "2988888f7e563a19017e563b5a670004",
"orgType": "1",
"scbs": "0",
"xgrId": "fb0b4bd70ce340af94202af98bfd2ff2",
"orgCode": "350200000000",
"rowNum": 0,
"end": 0,
"id": "2988888f7e5696f2017e575ac2fc0012",
"begin": 0,
"xgsj": "2022-01-14 14:51:13"
},
{
"cjrId": "fb0b4bd70ce340af94202af98bfd2ff2",
"orgName": "江苏省",
"version": 0,
"cjsj": "1970-01-01 14:51:13",
"terminalConfId": "2988888f7e563a19017e563b5a670004",
"orgType": "2",
"scbs": "0",
"xgrId": "fb0b4bd70ce340af94202af98bfd2ff2",
"orgCode": "320000000000",
"rowNum": 0,
"end": 0,
"id": "2988888f7e5696f2017e575ac2fc0013",
"begin": 0,
"xgsj": "2022-01-14 14:51:13"
}
],
"xgsj": "2022-01-05 10:15:52"
},
"extraRes": null
}