POST api/Busi/Ticket/RefundTicket/JD/Request
京东请求退款操作
Request Information
URI Parameters
None.
Body Parameters
JDRefundTicketRequestParmName | Description | Type | Additional information |
---|---|---|---|
DH |
门票系统单号 |
string |
Required |
JDOrderId |
京东方订单ID |
string |
Required |
RefundNo |
京东退款流水号 |
string |
None. |
RefundQuantity |
退票数 |
integer |
None. |
Price |
下单时的价格 |
decimal number |
None. |
DWLX |
单位类型 |
string |
None. |
DWID |
单位ID |
string |
None. |
TicketList |
票列表 |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DH": "sample string 1", "JDOrderId": "sample string 2", "RefundNo": "sample string 3", "RefundQuantity": 4, "Price": 5.0, "DWLX": "sample string 6", "DWID": "sample string 7", "TicketList": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<JDRefundTicketRequestParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <DH>sample string 1</DH> <DWID>sample string 7</DWID> <DWLX>sample string 6</DWLX> <JDOrderId>sample string 2</JDOrderId> <Price>5</Price> <RefundNo>sample string 3</RefundNo> <RefundQuantity>4</RefundQuantity> <TicketList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </TicketList> </JDRefundTicketRequestParm>
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
京东请求退款操作
CommonOperationResultWithTagOfJDRequestRefundTicketResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | JDRequestRefundTicketResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "isrefundok": "sample string 1", "reason": "sample string 2", "chargeFee": 3.0, "refundFee": 4.0 } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfJDRequestRefundTicketResultldpHZqFJ 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:chargeFee>3</d2p1:chargeFee> <d2p1:isrefundok>sample string 1</d2p1:isrefundok> <d2p1:reason>sample string 2</d2p1:reason> <d2p1:refundFee>4</d2p1:refundFee> </tag> </CommonOperationResultWithTagOfJDRequestRefundTicketResultldpHZqFJ>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.