POST api/Pos/MiniProgram/Refund/OrderRefund?billnum={billnum}&sellbillnum={sellbillnum}&amount={amount}
对订单进行退款。未完成
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
billnum |
退货单的单据号。 |
string |
Required |
sellbillnum |
售货单的单据号。 |
string |
Required |
amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
对订单进行退款。未完成
CommonOperationResultWithTagOfPosRefundPaymentResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | PosRefundPaymentResult |
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:
<CommonOperationResultWithTagOfPosRefundPaymentResultldpHZqFJ 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: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> </CommonOperationResultWithTagOfPosRefundPaymentResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.