POST api/ITTCApi/MeiTuanRefund

Request Information

URI Parameters

None.

Body Parameters

TicketOrderRefundRequest
NameDescriptionTypeAdditional information
body

TicketOrderRefundRequestBody

None.

partnerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "body": {
    "partnerOrderId": "sample string 1",
    "orderId": "sample string 2",
    "partnerDealId": "sample string 3",
    "refundId": "sample string 4",
    "refundQuantity": 5,
    "unitPrice": 6.0,
    "refundPrice": 7.0,
    "refundFee": 8.0,
    "refundTime": 9,
    "voucherList": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "partnerId": 1
}

application/xml, text/xml

Sample:
<TicketOrderRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Request.MeiTuan">
  <partnerId>1</partnerId>
  <body>
    <orderId>sample string 2</orderId>
    <partnerDealId>sample string 3</partnerDealId>
    <partnerOrderId>sample string 1</partnerOrderId>
    <refundFee>8</refundFee>
    <refundId>sample string 4</refundId>
    <refundPrice>7</refundPrice>
    <refundQuantity>5</refundQuantity>
    <refundTime>9</refundTime>
    <unitPrice>6</unitPrice>
    <voucherList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </voucherList>
  </body>
</TicketOrderRefundRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OrderRefundResponse
NameDescriptionTypeAdditional information
body

OrderRefundResponseBody

None.

code

integer

None.

describe

string

None.

partnerId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "body": {
    "orderId": "sample string 1",
    "refundId": "sample string 2",
    "partnerOrderId": "sample string 3"
  },
  "code": 1,
  "describe": "sample string 2",
  "partnerId": 3
}

application/xml, text/xml

Sample:
<OrderRefundResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Easyway.ITTC.Common.ParamEntity.ITTCAPI.Response.MeiTuan">
  <code>1</code>
  <describe>sample string 2</describe>
  <partnerId>3</partnerId>
  <body>
    <orderId>sample string 1</orderId>
    <partnerOrderId>sample string 3</partnerOrderId>
    <refundId>sample string 2</refundId>
  </body>
</OrderRefundResponse>