POST api/Bus/CarSell/Refund/End
对订单发起申请退款 注意:该接口仅支持整单原路退回。
Request Information
URI Parameters
None.
Body Parameters
订单编号。
Bus3PayParmName | Description | Type | Additional information |
---|---|---|---|
billnum |
售货单号。 |
string |
Required Max length: 20 |
paytype |
付款方式。 |
string |
Required Max length: 2 |
paymentvalue |
支付的金额。 |
decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{ "billnum": "sample string 1", "paytype": "sample string 2", "paymentvalue": 3.0 }
application/xml, text/xml
Sample:
<Bus3PayParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Bus"> <billnum>sample string 1</billnum> <paymentvalue>3</paymentvalue> <paytype>sample string 2</paytype> </Bus3PayParm>
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
对订单发起申请退款 注意:该接口仅支持整单原路退回。
CommonOperationResultWithTagOfBusRefundPaymentResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | BusRefundPaymentResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "billnum": "sample string 1", "autoid": 2, "refundcomplete": "sample string 3", "oldautoid": 4, "oldownerbusino": "sample string 5", "thirdpartno": "sample string 6", "thirdpartno2": "sample string 7", "paymentaccount": "sample string 8", "receiveaccount": "sample string 9" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfBusRefundPaymentResultWRS7EInM 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.Bus"> <d2p1:autoid>2</d2p1:autoid> <d2p1:billnum>sample string 1</d2p1:billnum> <d2p1:oldautoid>4</d2p1:oldautoid> <d2p1:oldownerbusino>sample string 5</d2p1:oldownerbusino> <d2p1:paymentaccount>sample string 8</d2p1:paymentaccount> <d2p1:receiveaccount>sample string 9</d2p1:receiveaccount> <d2p1:refundcomplete>sample string 3</d2p1:refundcomplete> <d2p1:thirdpartno>sample string 6</d2p1:thirdpartno> <d2p1:thirdpartno2>sample string 7</d2p1:thirdpartno2> </tag> </CommonOperationResultWithTagOfBusRefundPaymentResultWRS7EInM>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.