GET api/Setting/TicketCheckGates/Cfg/Read/{dzid}
读取闸机的设置配置(这个配置有可能是闸机自主写入的,也可能是后台工作人员配置的)。 需要判断返回值,如果返回值的errcode=0,则表示成功。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dzid |
道闸的ID。 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
读取闸机的设置配置(这个配置有可能是闸机自主写入的,也可能是后台工作人员配置的)。 需要判断返回值,如果返回值的errcode=0,则表示成功。
CommonOperationResultWithTagOfTicketGateConfigSetParmName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | TicketGateConfigSetParm |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "dzid": "sample string 1", "enablefacedirectin": "sample string 2", "enablebodytempchk": "sample string 3", "bodytempstdvalue": 4.0, "facequalitylevel": 5, "enablefacemaskchk": "sample string 6", "autodownloadfacedb": "sample string 7", "lastsettime": "sample string 8", "lastsetuserloginname": "sample string 9" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTicketGateConfigSetParmlTRO8TLE 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:autodownloadfacedb>sample string 7</d2p1:autodownloadfacedb> <d2p1:bodytempstdvalue>4</d2p1:bodytempstdvalue> <d2p1:dzid>sample string 1</d2p1:dzid> <d2p1:enablebodytempchk>sample string 3</d2p1:enablebodytempchk> <d2p1:enablefacedirectin>sample string 2</d2p1:enablefacedirectin> <d2p1:enablefacemaskchk>sample string 6</d2p1:enablefacemaskchk> <d2p1:facequalitylevel>5</d2p1:facequalitylevel> <d2p1:lastsettime>sample string 8</d2p1:lastsettime> <d2p1:lastsetuserloginname>sample string 9</d2p1:lastsetuserloginname> </tag> </CommonOperationResultWithTagOfTicketGateConfigSetParmlTRO8TLE>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.