POST api/TwoGeRenGongZiTongJi/add
添加
Request Information
URI Parameters
None.
Body Parameters
addTwoGerengongziPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
当编辑的时候,传递id。 |
integer |
None. |
| groupid | integer |
None. |
|
| dt | string |
None. |
|
| beilvxiaoshoue | decimal number |
None. |
|
| zhouqibeilv | decimal number |
None. |
|
| tianqibeilv | decimal number |
None. |
|
| jieribeilv | decimal number |
None. |
|
| shijibeilvxiaoshoue | decimal number |
None. |
|
| gerenbeilvxiaoshoue | decimal number |
None. |
|
| quandianrixiaoshou | decimal number |
None. |
|
| gerenrixiaosou | decimal number |
None. |
|
| gerenritichengxiaoshou | decimal number |
None. |
|
| wanchenglv | decimal number |
None. |
|
| riticheng | decimal number |
None. |
|
| yueleijiticheng | decimal number |
None. |
|
| dianpuyueleijixiaoshou | decimal number |
None. |
|
| tongqidianpuyuexiaoshou | decimal number |
None. |
|
| yichangzhekoucishu | integer |
None. |
|
| yuehuiyuanwanshanrenshu | integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"groupid": 1,
"dt": "sample string 1",
"beilvxiaoshoue": 2.0,
"zhouqibeilv": 3.0,
"tianqibeilv": 4.0,
"jieribeilv": 5.0,
"shijibeilvxiaoshoue": 6.0,
"gerenbeilvxiaoshoue": 7.0,
"quandianrixiaoshou": 8.0,
"gerenrixiaosou": 9.0,
"gerenritichengxiaoshou": 10.0,
"wanchenglv": 11.0,
"riticheng": 12.0,
"yueleijiticheng": 13.0,
"dianpuyueleijixiaoshou": 14.0,
"tongqidianpuyuexiaoshou": 15.0,
"yichangzhekoucishu": 16,
"yuehuiyuanwanshanrenshu": 17,
"tel": "sample string 18",
"token": "sample string 19",
"uid": 1
}
application/xml, text/xml
Sample:
<addTwoGerengongziPost 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 18</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 19</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <beilvxiaoshoue>2</beilvxiaoshoue> <dianpuyueleijixiaoshou>14</dianpuyueleijixiaoshou> <dt>sample string 1</dt> <gerenbeilvxiaoshoue>7</gerenbeilvxiaoshoue> <gerenritichengxiaoshou>10</gerenritichengxiaoshou> <gerenrixiaosou>9</gerenrixiaosou> <groupid>1</groupid> <id>1</id> <jieribeilv>5</jieribeilv> <quandianrixiaoshou>8</quandianrixiaoshou> <riticheng>12</riticheng> <shijibeilvxiaoshoue>6</shijibeilvxiaoshoue> <tianqibeilv>4</tianqibeilv> <tongqidianpuyuexiaoshou>15</tongqidianpuyuexiaoshou> <wanchenglv>11</wanchenglv> <yichangzhekoucishu>16</yichangzhekoucishu> <yuehuiyuanwanshanrenshu>17</yuehuiyuanwanshanrenshu> <yueleijiticheng>13</yueleijiticheng> <zhouqibeilv>3</zhouqibeilv> </addTwoGerengongziPost>
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>