POST api/HuiKuan/addHuiKuan
添加一条汇款
Request Information
URI Parameters
None.
Body Parameters
addhuikuanPost| Name | Description | Type | Additional information |
|---|---|---|---|
| type | HuiKuanType |
None. |
|
| zhanghao | string |
None. |
|
| amount | decimal number |
None. |
|
| remarks | string |
None. |
|
| gonghuoshangid | integer |
None. |
|
| imgId | integer |
None. |
|
| huikuanDt |
汇款时间,可不填写 |
string |
None. |
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"type": 1,
"zhanghao": "sample string 1",
"amount": 2.0,
"remarks": "sample string 3",
"gonghuoshangid": 4,
"imgId": 1,
"huikuanDt": "sample string 5",
"tel": "sample string 6",
"token": "sample string 7",
"uid": 1
}
application/xml, text/xml
Sample:
<addhuikuanPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers"> <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 6</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 7</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <amount>2</amount> <gonghuoshangid>4</gonghuoshangid> <huikuanDt>sample string 5</huikuanDt> <imgId>1</imgId> <remarks>sample string 3</remarks> <type>weixin</type> <zhanghao>sample string 1</zhanghao> </addhuikuanPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <code>1</code> <msg>sample string 2</msg> </BaseResult>