POST api/TwoMenDianLiRun/add
添加记录
Request Information
URI Parameters
None.
Body Parameters
addMenDianLiRunPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
修改的时候,传递id |
integer |
None. |
| groupid | integer |
None. |
|
| month |
传递日期格式,如2019年3月,传递2019-03-01 .只能输入曾经的月份,不能是当前月 |
string |
None. |
| sellcount | decimal number |
None. |
|
| xiaoshouchengben | decimal number |
None. |
|
| maolirun | decimal number |
None. |
|
| fangzu | decimal number |
None. |
|
| zhuangxiu | decimal number |
None. |
|
| gongzi | decimal number |
None. |
|
| dianfei | decimal number |
None. |
|
| anzhuangfei | decimal number |
None. |
|
| richangkaizhi | decimal number |
None. |
|
| houqinfentan | decimal number |
None. |
|
| remarks | string |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"groupid": 1,
"month": "sample string 2",
"sellcount": 3.0,
"xiaoshouchengben": 4.0,
"maolirun": 5.0,
"fangzu": 6.0,
"zhuangxiu": 7.0,
"gongzi": 8.0,
"dianfei": 9.0,
"anzhuangfei": 10.0,
"richangkaizhi": 11.0,
"houqinfentan": 12.0,
"remarks": "sample string 13",
"tel": "sample string 14",
"token": "sample string 15",
"uid": 1
}
application/xml, text/xml
Sample:
<addMenDianLiRunPost 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 14</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 15</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <anzhuangfei>10</anzhuangfei> <dianfei>9</dianfei> <fangzu>6</fangzu> <gongzi>8</gongzi> <groupid>1</groupid> <houqinfentan>12</houqinfentan> <id>1</id> <maolirun>5</maolirun> <month>sample string 2</month> <remarks>sample string 13</remarks> <richangkaizhi>11</richangkaizhi> <sellcount>3</sellcount> <xiaoshouchengben>4</xiaoshouchengben> <zhuangxiu>7</zhuangxiu> </addMenDianLiRunPost>
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>