POST api/OrderProfit/UpdateOrderProfitFee
Request Information
URI Parameters
None.
Body Parameters
UpdateOrderProfitFeeReq| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
None. |
|
| Currency | string |
None. |
|
| RefundAmount | decimal number |
None. |
|
| OtherFee | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": 1,
"Currency": "sample string 2",
"RefundAmount": 1.0,
"OtherFee": 1.0
}
application/xml, text/xml
Sample:
<UpdateOrderProfitFeeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.OrderProfit"> <Currency>sample string 2</Currency> <OrderId>1</OrderId> <OtherFee>1</OtherFee> <RefundAmount>1</RefundAmount> </UpdateOrderProfitFeeReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>true</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOfboolean>