POST api/offline/DiscountsPay/ApplyDiscountsPay
线下客户申请优惠付款
Request Information
URI Parameters
None.
Body Parameters
ApplyDiscountsPayRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId |
客户ID |
integer |
None. |
| RepaymentMonry |
还款金额 |
decimal number |
None. |
| DiscountsMoney |
优惠金额 |
decimal number |
None. |
| ApplyRemak |
申请备注 |
string |
None. |
| ImageUrl |
上传图片,多张用",隔开" |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"RepaymentMonry": 2.0,
"DiscountsMoney": 3.0,
"ApplyRemak": "sample string 4",
"ImageUrl": "sample string 5"
}
application/xml, text/xml
Sample:
<ApplyDiscountsPayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request"> <ApplyRemak>sample string 4</ApplyRemak> <CustomerId>1</CustomerId> <DiscountsMoney>3</DiscountsMoney> <ImageUrl>sample string 5</ImageUrl> <RepaymentMonry>2</RepaymentMonry> </ApplyDiscountsPayRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| data | integer |
None. |
|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": 1,
"errcode": "sample string 2",
"errmsg": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi"> <errcode>sample string 2</errcode> <errmsg>sample string 3</errmsg> <data>1</data> </ResponseOfint>