POST LifeHall/RefundOrders/Apply
请求参数
URI 参数
无。
Body 参数
RefundOrderRP名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
orderId | string |
无。 |
|
amount | decimal number |
无。 |
|
remarks | string |
无。 |
|
reason | string |
无。 |
|
type | string |
无。 |
|
orderItems | RefundOrderItem 集合 |
无。 |
|
userId | string |
无。 |
请求格式
application/json, text/json
示例:
{ "orderId": "sample string 1", "amount": 2.0, "remarks": "sample string 3", "reason": "sample string 4", "type": "sample string 5", "orderItems": [ { "orderDetailId": 1, "itmeId": "sample string 2", "skuId": "sample string 3", "quantity": 4, "cabinetId": "sample string 5", "imageUrl": "sample string 6", "refundOrderId": "sample string 7" }, { "orderDetailId": 1, "itmeId": "sample string 2", "skuId": "sample string 3", "quantity": 4, "cabinetId": "sample string 5", "imageUrl": "sample string 6", "refundOrderId": "sample string 7" } ], "userId": "sample string 6" }
application/xml, text/xml
示例:
<RefundOrderRP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.DTO.Module.Order"> <amount>2</amount> <orderId>sample string 1</orderId> <orderItems> <RefundOrderItem> <cabinetId>sample string 5</cabinetId> <imageUrl>sample string 6</imageUrl> <itmeId>sample string 2</itmeId> <orderDetailId>1</orderDetailId> <quantity>4</quantity> <refundOrderId>sample string 7</refundOrderId> <skuId>sample string 3</skuId> </RefundOrderItem> <RefundOrderItem> <cabinetId>sample string 5</cabinetId> <imageUrl>sample string 6</imageUrl> <itmeId>sample string 2</itmeId> <orderDetailId>1</orderDetailId> <quantity>4</quantity> <refundOrderId>sample string 7</refundOrderId> <skuId>sample string 3</skuId> </RefundOrderItem> </orderItems> <reason>sample string 4</reason> <remarks>sample string 3</remarks> <type>sample string 5</type> <userId>sample string 6</userId> </RefundOrderRP>
application/x-www-form-urlencoded
示例:
Sample not available.
Response 信息
资源描述
HttpResponseMessage名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Version | Version |
无。 |
|
Content | HttpContent |
无。 |
|
StatusCode | HttpStatusCode |
无。 |
|
ReasonPhrase | string |
无。 |
|
Headers | Object 集合 |
无。 |
|
RequestMessage | HttpRequestMessage |
无。 |
|
IsSuccessStatusCode | boolean |
无。 |