POST api/CheckTicket/FlowTraffic/ByIcCode/Direct
即时流水发班验票API。 使用IC卡发起强制检票(忽略RZFS设置,不执行身份验证)。 获得的返回“checkresultcode”为0(表示当前票可以检或已检)
Request Information
URI Parameters
None.
Body Parameters
FlowTraffic_CheckTicketByIcCodeParmName | Description | Type | Additional information |
---|---|---|---|
iccode |
Ic卡号 |
string |
Required |
ClassId |
班次号。 |
string |
Required Max length: 12 |
gateparm |
检票时需要的闸机参数 |
CheckGateParm |
Required |
Request Formats
application/json, text/json
Sample:
{ "iccode": "sample string 1", "ClassId": "sample string 2", "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:
<FlowTraffic_CheckTicketByIcCodeParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Common.FlowTraffic"> <ClassId>sample string 2</ClassId> <gateparm xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:cansampleface>sample string 4</d2p1:cansampleface> <d2p1:cansamplefinger>sample string 3</d2p1:cansamplefinger> <d2p1:cansampleidentitycard>sample string 5</d2p1:cansampleidentitycard> <d2p1:dzid>sample string 1</d2p1:dzid> <d2p1:jpfx>sample string 2</d2p1:jpfx> <d2p1:machinetype>sample string 6</d2p1:machinetype> </gateparm> <iccode>sample string 1</iccode> </FlowTraffic_CheckTicketByIcCodeParm>
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。 使用IC卡发起强制检票(忽略RZFS设置,不执行身份验证)。 获得的返回“checkresultcode”为0(表示当前票可以检或已检)
CommonOperationResultWithTagOfFlowTraffic_CheckingResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | FlowTraffic_CheckingResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "classid": "sample string 1", "PassengerCapacity": 2, "CheckedPassengerCount": 3, "lbsbh": "sample string 4", "jpfx": "sample string 5", "dzid": "sample string 6", "rzfs": "sample string 7", "jpwc": "sample string 8", "yxqs": "sample string 9", "yxqz": "sample string 10", "mplxid": "sample string 11", "mplxmc": "sample string 12", "bioinfo1": "QEA=", "bioinfo2": "QEA=", "bioinfo3": "QEA=", "bioinfo4": "QEA=", "checkresultcode": 13, "checkresult": "sample string 14", "rcs": 15, "zjlx": "sample string 16", "zjmc": "sample string 17", "zjhm": "sample string 18", "xm": "sample string 19", "sprqsj": "sample string 20", "scjp": "sample string 21", "spzddm": "sample string 22", "spzdmc": "sample string 23", "yqid": "sample string 24", "yqmc": "sample string 25", "tslx": "sample string 26", "sytxcs": 27, "lastcheckdzid": "sample string 28", "lastcheckjpzdid": "sample string 29", "lastcheckjpzdmc": "sample string 30", "lastjprqsj": "sample string 31" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfFlowTraffic_CheckingResultnjeuSYsM 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.Common.FlowTraffic"> <d2p1:CheckedPassengerCount>3</d2p1:CheckedPassengerCount> <d2p1:PassengerCapacity>2</d2p1:PassengerCapacity> <d2p1:bioinfo1>QEA=</d2p1:bioinfo1> <d2p1:bioinfo2>QEA=</d2p1:bioinfo2> <d2p1:bioinfo3>QEA=</d2p1:bioinfo3> <d2p1:bioinfo4>QEA=</d2p1:bioinfo4> <d2p1:checkresult>sample string 14</d2p1:checkresult> <d2p1:checkresultcode>13</d2p1:checkresultcode> <d2p1:classid>sample string 1</d2p1:classid> <d2p1:dzid>sample string 6</d2p1:dzid> <d2p1:jpfx>sample string 5</d2p1:jpfx> <d2p1:jpwc>sample string 8</d2p1:jpwc> <d2p1:lastcheckdzid>sample string 28</d2p1:lastcheckdzid> <d2p1:lastcheckjpzdid>sample string 29</d2p1:lastcheckjpzdid> <d2p1:lastcheckjpzdmc>sample string 30</d2p1:lastcheckjpzdmc> <d2p1:lastjprqsj>sample string 31</d2p1:lastjprqsj> <d2p1:lbsbh>sample string 4</d2p1:lbsbh> <d2p1:mplxid>sample string 11</d2p1:mplxid> <d2p1:mplxmc>sample string 12</d2p1:mplxmc> <d2p1:rcs>15</d2p1:rcs> <d2p1:rzfs>sample string 7</d2p1:rzfs> <d2p1:scjp>sample string 21</d2p1:scjp> <d2p1:sprqsj>sample string 20</d2p1:sprqsj> <d2p1:spzddm>sample string 22</d2p1:spzddm> <d2p1:spzdmc>sample string 23</d2p1:spzdmc> <d2p1:sytxcs>27</d2p1:sytxcs> <d2p1:tslx>sample string 26</d2p1:tslx> <d2p1:xm>sample string 19</d2p1:xm> <d2p1:yqid>sample string 24</d2p1:yqid> <d2p1:yqmc>sample string 25</d2p1:yqmc> <d2p1:yxqs>sample string 9</d2p1:yxqs> <d2p1:yxqz>sample string 10</d2p1:yxqz> <d2p1:zjhm>sample string 18</d2p1:zjhm> <d2p1:zjlx>sample string 16</d2p1:zjlx> <d2p1:zjmc>sample string 17</d2p1:zjmc> </tag> </CommonOperationResultWithTagOfFlowTraffic_CheckingResultnjeuSYsM>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.