POST api/refund/applyrefund

申请退款

Request Information

URI Parameters

None.

Body Parameters

ApplyRefund
NameDescriptionTypeAdditional information
userId

用户id

string

None.

orderId

订单id

string

None.

did

子订单id

string

None.

amount

退款金额

integer

None.

type

退款类型

string

None.

reason

退款原因

string

None.

towns

乡镇编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "orderId": "sample string 2",
  "did": "sample string 3",
  "amount": 4,
  "type": "sample string 5",
  "reason": "sample string 6",
  "towns": 7
}

application/xml, text/xml

Sample:
<ApplyRefund xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.Mall.Apis.Models">
  <amount>4</amount>
  <did>sample string 3</did>
  <orderId>sample string 2</orderId>
  <reason>sample string 6</reason>
  <towns>7</towns>
  <type>sample string 5</type>
  <userId>sample string 1</userId>
</ApplyRefund>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.