POST api/MallOrder/GShopApplyOrderRefund

商家确认商城订单退款

Request Information

URI Parameters

None.

Body Parameters

订单退款标识

GShopApproveOrderRefundDto
NameDescriptionTypeAdditional information
OrderDetailId

订单行标识

integer

None.

RefundType

退款方式

OrderRefundType

None.

RefundAmount

退款金额(分),小于等于0即认为全部退款

integer

None.

RefundAmountYuan

退款金额(元)

decimal number

None.

RefundCreditAmount

退款积分,小于等于0即认为全部退款

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<GShopApproveOrderRefundDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.GShop">
  <OrderDetailId>1</OrderDetailId>
  <RefundAmount>310</RefundAmount>
  <RefundAmountYuan>3.1</RefundAmountYuan>
  <RefundCreditAmount>4</RefundCreditAmount>
  <RefundType>ToOrigin</RefundType>
</GShopApproveOrderRefundDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GShopApproveOrderRefundDto'.

Response Information

Resource Description

商家确认商城订单退款

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />