POST api/Servo/Server/BiometricSyncScan/EventScan
这个存储过程,用于响应T_MP_ZH_NEEDTOSCAN表的数据,检查需要同步到的闸机的清单, 创建T_JQ_DZB_FACEINDEX表的记录,等待客户端(闸机)的扫描请求。 这个存储过程响应的内容非常多,包括票可以经过的闸机的有剩余权限的清单; 闸机验票的拒止条件; 许票的验证方式等。 这个存储过程,总是一次只扫描一个记录。 需要判断返回值,返回值中errcode=0表示成功。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
这个存储过程,用于响应T_MP_ZH_NEEDTOSCAN表的数据,检查需要同步到的闸机的清单, 创建T_JQ_DZB_FACEINDEX表的记录,等待客户端(闸机)的扫描请求。 这个存储过程响应的内容非常多,包括票可以经过的闸机的有剩余权限的清单; 闸机验票的拒止条件; 许票的验证方式等。 这个存储过程,总是一次只扫描一个记录。 需要判断返回值,返回值中errcode=0表示成功。
CommonOperationResultWithTagOfBiometricSyncEventScanResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | BiometricSyncEventScanResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"hasmore": "sample string 1",
"autoid": 2
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfBiometricSyncEventScanResultldpHZqFJ 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.Result">
<d2p1:autoid>2</d2p1:autoid>
<d2p1:hasmore>sample string 1</d2p1:hasmore>
</tag>
</CommonOperationResultWithTagOfBiometricSyncEventScanResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.