POST api/GongZi/AddGongZiShenQing
添加一条工资申请
Request Information
URI Parameters
None.
Body Parameters
gongziPost| Name | Description | Type | Additional information |
|---|---|---|---|
| month | integer |
None. |
|
| dixin | decimal number |
None. |
|
| jiaban | decimal number |
None. |
|
| other | decimal number |
None. |
|
| yingkui | decimal number |
None. |
|
| ticheng | decimal number |
None. |
|
| remarks | string |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"month": 1,
"dixin": 2.0,
"jiaban": 3.0,
"other": 4.0,
"yingkui": 5.0,
"ticheng": 6.0,
"remarks": "sample string 7",
"tel": "sample string 8",
"token": "sample string 9",
"uid": 1
}
application/xml, text/xml
Sample:
<gongziPost 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 8</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 9</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <dixin>2</dixin> <jiaban>3</jiaban> <month>1</month> <other>4</other> <remarks>sample string 7</remarks> <ticheng>6</ticheng> <yingkui>5</yingkui> </gongziPost>
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>