POST api/Setting/TicketCheckGates/RunCfg/Reporting
闸机启动之后间歇性报告运行参数的API接口。 需要判断返回值,如果返回值的errcode=0,则表示成功。
Request Information
URI Parameters
None.
Body Parameters
TicketGateRunConfigParm| Name | Description | Type | Additional information |
|---|---|---|---|
| ipaddress |
运行值IP地址 RunIpAddress varchar(50)。 |
string |
Max length: 50 |
| ipmask |
运行值子网掩码 RunIpMark varchar(50)。 |
string |
Max length: 50 |
| facedbcapacity |
人脸库容量 RunFaceDbCapacity BigInt. |
integer |
None. |
| usedfacedbcapacity |
已使用的人脸库的容量 RunUsedFaceDbCapacity Bigint。 |
integer |
None. |
| lastfacetemplateid |
最后一个样本特征的同步ID RunLastFaceTemplateId Bigint。 |
integer |
None. |
| dzid |
闸机ID。 |
string |
Required Max length: 4 Min length: 4 |
| enablefacedirectin |
设置值是否启用人脸直接过闸, 1表示是,0表示否。 |
string |
Max length: 1 |
| enablebodytempchk |
设置值是否启用体温监测 , 1-表示是,0表示否。 |
string |
Max length: 1 |
| bodytempstdvalue |
设置值体温检测阀值 , 单位摄氏度。 |
decimal number |
None. |
| facequalitylevel |
设置值人脸采集质量要求 , 仅指采集入库时的质量要求,满分为100(最高质量要求),0为最低要求。 |
integer |
None. |
| enablefacemaskchk |
设置值是否启用口罩检测 , 1-表示是,0表示否。 |
string |
Max length: 1 |
| autodownloadfacedb |
设置值是否自动下载人脸库 , 1-表示是,0表示否。 |
string |
Max length: 1 |
| lastsettime |
最后一次设置时间 ,yyyyMMddHHmmss。 |
string |
None. |
| lastsetuserloginname |
最后一次执行设置的人。 |
string |
None. |
Request Formats
application/json, text/json
{
"ipaddress": "sample string 1",
"ipmask": "sample string 2",
"facedbcapacity": 3,
"usedfacedbcapacity": 4,
"lastfacetemplateid": 5,
"dzid": "sample string 6",
"enablefacedirectin": "sample string 7",
"enablebodytempchk": "sample string 8",
"bodytempstdvalue": 9.0,
"facequalitylevel": 10,
"enablefacemaskchk": "sample string 11",
"autodownloadfacedb": "sample string 12",
"lastsettime": "sample string 13",
"lastsetuserloginname": "sample string 14"
}
application/xml, text/xml
<TicketGateRunConfigParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <autodownloadfacedb>sample string 12</autodownloadfacedb> <bodytempstdvalue>9</bodytempstdvalue> <dzid>sample string 6</dzid> <enablebodytempchk>sample string 8</enablebodytempchk> <enablefacedirectin>sample string 7</enablefacedirectin> <enablefacemaskchk>sample string 11</enablefacemaskchk> <facequalitylevel>10</facequalitylevel> <lastsettime>sample string 13</lastsettime> <lastsetuserloginname>sample string 14</lastsetuserloginname> <facedbcapacity>3</facedbcapacity> <ipaddress>sample string 1</ipaddress> <ipmask>sample string 2</ipmask> <lastfacetemplateid>5</lastfacetemplateid> <usedfacedbcapacity>4</usedfacedbcapacity> </TicketGateRunConfigParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
闸机启动之后间歇性报告运行参数的API接口。 需要判断返回值,如果返回值的errcode=0,则表示成功。
CommonOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
| errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
| tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "sample string 3"
}
application/xml, text/xml
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Binary JSON content. See http://bsonspec.org for details.