POST api/Servo/AbcPay/CS/Query/PayResult/YearCard
查询扫码支付或条码支付的结果,如果收款成功,应用到系统中并返回。
Request Information
URI Parameters
None.
Body Parameters
AbcPayQueryParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
业务单据单号。 |
string |
Required Max length: 64 |
AutoId |
对于非常规售票单,此值表示唯一交易的iD 对于售票单,表示唯一交易ID的部分。 |
string |
Required Max length: 36 |
BusinessType |
业务类型。 1-景区或演出票务; 2-自营零售业务; 3-包车业务; 4-即上即下环保车票务业务; 5-装备租赁业务; 6-联营零售业务。 |
ESysBusinessType |
Required |
TerminalCode |
终端号,款台号。 |
string |
Max length: 20 |
OperatorNo |
操作员号。 |
string |
Max length: 20 |
PaymentType |
收款方式代码。 |
string |
Required Max length: 2 |
Request Formats
application/json, text/json
Sample:
{ "BillNum": "sample string 1", "AutoId": "sample string 2", "BusinessType": 1, "TerminalCode": "sample string 3", "OperatorNo": "sample string 4", "PaymentType": "sample string 5" }
application/xml, text/xml
Sample:
<AbcPayQueryParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Pay"> <AutoId>sample string 2</AutoId> <BillNum>sample string 1</BillNum> <BusinessType>ToursimOrTheatreTicketBusiness</BusinessType> <OperatorNo>sample string 4</OperatorNo> <PaymentType>sample string 5</PaymentType> <TerminalCode>sample string 3</TerminalCode> </AbcPayQueryParm>
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
查询扫码支付或条码支付的结果,如果收款成功,应用到系统中并返回。
CommonOperationResultWithTagOfPayStatusResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PayStatusResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "autoid": "sample string 2", "billstatus": "sample string 3", "paystatus": "sample string 4", "paystatusdesc": "sample string 5" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfPayStatusResultKp9g8rEY 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.Pay"> <d2p1:autoid>sample string 2</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:billstatus>sample string 3</d2p1:billstatus> <d2p1:paystatus>sample string 4</d2p1:paystatus> <d2p1:paystatusdesc>sample string 5</d2p1:paystatusdesc> </tag> </CommonOperationResultWithTagOfPayStatusResultKp9g8rEY>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.