POST api/CheckTicket/Test/ByTicketNumber
通过门票卡号检票,此API仅用于检票测试软件使用
Request Information
URI Parameters
None.
Body Parameters
TicketCheckParmName | Description | Type | Additional information |
---|---|---|---|
lbsbh |
门票的内部识别号 |
string |
Required Max length: 32 |
zjlx |
证件类型,"1"身份证,“2”护照,“3”其他 |
string |
Max length: 1 |
zjhm |
证件号码 |
string |
Max length: 32 |
xm |
姓名 |
string |
Max length: 32 |
updatebiodata |
要求服务器更新生特特征信息,"1"必须更新,“0”不必更新。 |
string |
Required Max length: 1 |
bioinfo1 |
第一个生物特征特征值(可能是指纹,可能是面相),如果为空,表示在前面的流程中,尚未采集,此值如果不为空,则表示是需要认证的标本。 |
Collection of byte |
None. |
bioinfo2 |
第二个生物特征特征值(可能是指纹,可能是面相),如果为空,表示在前面的流程中,尚未采集,此值如果不为空,则表示是需要认证的标本。 |
Collection of byte |
None. |
bioinfo3 |
第三个生物特征特征值(可能是指纹,可能是面相),如果为空,表示在前面的流程中,尚未采集,此值如果不为空,则表示是需要认证的标本。 |
Collection of byte |
None. |
bioinfo4 |
第四个生物特征特征值(可能是指纹,可能是面相),如果为空,表示在前面的流程中,尚未采集,此值如果不为空,则表示是需要认证的标本。 |
Collection of byte |
None. |
gateparm |
检票时需要的闸机参数 |
CheckGateParm |
Required |
Request Formats
application/json, text/json
Sample:
{ "lbsbh": "sample string 1", "zjlx": "sample string 2", "zjhm": "sample string 3", "xm": "sample string 4", "updatebiodata": "sample string 5", "bioinfo1": "QEA=", "bioinfo2": "QEA=", "bioinfo3": "QEA=", "bioinfo4": "QEA=", "gateparm": { "dzid": "sample string 1", "jpfx": "sample string 2", "cansamplefinger": "sample string 3", "cansampleface": "sample string 4", "cansampleidentitycard": "sample string 5", "machinetype": "sample string 6" } }
application/xml, text/xml
Sample:
<TicketCheckParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <bioinfo1>QEA=</bioinfo1> <bioinfo2>QEA=</bioinfo2> <bioinfo3>QEA=</bioinfo3> <bioinfo4>QEA=</bioinfo4> <gateparm> <cansampleface>sample string 4</cansampleface> <cansamplefinger>sample string 3</cansamplefinger> <cansampleidentitycard>sample string 5</cansampleidentitycard> <dzid>sample string 1</dzid> <jpfx>sample string 2</jpfx> <machinetype>sample string 6</machinetype> </gateparm> <lbsbh>sample string 1</lbsbh> <updatebiodata>sample string 5</updatebiodata> <xm>sample string 4</xm> <zjhm>sample string 3</zjhm> <zjlx>sample string 2</zjlx> </TicketCheckParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
通过门票卡号检票,此API仅用于检票测试软件使用
CommonOperationResultWithTagOfTicketCheckingResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | TicketCheckingResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "lbsbh": "sample string 1", "jpfx": "sample string 2", "dzid": "sample string 3", "rzfs": "sample string 4", "jpwc": "sample string 5", "yxqs": "sample string 6", "yxqz": "sample string 7", "mplxid": "sample string 8", "mplxmc": "sample string 9", "bioinfo1": "QEA=", "bioinfo2": "QEA=", "bioinfo3": "QEA=", "bioinfo4": "QEA=", "checkresultcode": 10, "checkresult": "sample string 11", "rcs": 12, "zjlx": "sample string 13", "zjmc": "sample string 14", "zjhm": "sample string 15", "xm": "sample string 16", "sprqsj": "sample string 17", "scjp": "sample string 18", "spzddm": "sample string 19", "spzdmc": "sample string 20", "yqid": "sample string 21", "yqmc": "sample string 22", "tslx": "sample string 23", "sytxcs": 24, "lastcheckdzid": "sample string 25", "lastcheckjpzdid": "sample string 26", "lastcheckjpzdmc": "sample string 27", "lastjprqsj": "sample string 28" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTicketCheckingResultldpHZqFJ 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:bioinfo1>QEA=</d2p1:bioinfo1> <d2p1:bioinfo2>QEA=</d2p1:bioinfo2> <d2p1:bioinfo3>QEA=</d2p1:bioinfo3> <d2p1:bioinfo4>QEA=</d2p1:bioinfo4> <d2p1:checkresult>sample string 11</d2p1:checkresult> <d2p1:checkresultcode>10</d2p1:checkresultcode> <d2p1:dzid>sample string 3</d2p1:dzid> <d2p1:jpfx>sample string 2</d2p1:jpfx> <d2p1:jpwc>sample string 5</d2p1:jpwc> <d2p1:lastcheckdzid>sample string 25</d2p1:lastcheckdzid> <d2p1:lastcheckjpzdid>sample string 26</d2p1:lastcheckjpzdid> <d2p1:lastcheckjpzdmc>sample string 27</d2p1:lastcheckjpzdmc> <d2p1:lastjprqsj>sample string 28</d2p1:lastjprqsj> <d2p1:lbsbh>sample string 1</d2p1:lbsbh> <d2p1:mplxid>sample string 8</d2p1:mplxid> <d2p1:mplxmc>sample string 9</d2p1:mplxmc> <d2p1:rcs>12</d2p1:rcs> <d2p1:rzfs>sample string 4</d2p1:rzfs> <d2p1:scjp>sample string 18</d2p1:scjp> <d2p1:sprqsj>sample string 17</d2p1:sprqsj> <d2p1:spzddm>sample string 19</d2p1:spzddm> <d2p1:spzdmc>sample string 20</d2p1:spzdmc> <d2p1:sytxcs>24</d2p1:sytxcs> <d2p1:tslx>sample string 23</d2p1:tslx> <d2p1:xm>sample string 16</d2p1:xm> <d2p1:yqid>sample string 21</d2p1:yqid> <d2p1:yqmc>sample string 22</d2p1:yqmc> <d2p1:yxqs>sample string 6</d2p1:yxqs> <d2p1:yxqz>sample string 7</d2p1:yxqz> <d2p1:zjhm>sample string 15</d2p1:zjhm> <d2p1:zjlx>sample string 13</d2p1:zjlx> <d2p1:zjmc>sample string 14</d2p1:zjmc> </tag> </CommonOperationResultWithTagOfTicketCheckingResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.