POST spsapi/SalaryBusiness/AddLogisticsGroupSalary
添加仓库绩效统计-物流组 薪资数据
Request Information
URI Parameters
None.
Body Parameters
AddSalaryLogisticsGroupRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| salary_date |
添加月份 例:2023-08 |
string |
None. |
| emp_id |
员工编号(主键) |
integer |
None. |
| order_num |
单数 |
integer |
None. |
| order_price |
单数单价 |
decimal number |
None. |
| piece_count |
件数 |
integer |
None. |
| piece_price |
件数单价 |
decimal number |
None. |
| performance |
绩效(单数*单数单价+件数*件数单价) |
decimal number |
None. |
| backup_performance |
备用司机固定绩效(抽签获得) |
decimal number |
None. |
| other_performance |
其他绩效 |
decimal number |
None. |
| amount_performance |
合计 |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"salary_date": "sample string 1",
"emp_id": 2,
"order_num": 3,
"order_price": 4.0,
"piece_count": 5,
"piece_price": 6.0,
"performance": 7.0,
"backup_performance": 8.0,
"other_performance": 9.0,
"amount_performance": 10.0
}
application/xml, text/xml
Sample:
<AddSalaryLogisticsGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <amount_performance>10</amount_performance> <backup_performance>8</backup_performance> <emp_id>2</emp_id> <order_num>3</order_num> <order_price>4</order_price> <other_performance>9</other_performance> <performance>7</performance> <piece_count>5</piece_count> <piece_price>6</piece_price> <salary_date>sample string 1</salary_date> </AddSalaryLogisticsGroupRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SalaryBaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误编码 100:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
| message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 2,
"message": "sample string 1"
}
application/xml, text/xml
Sample:
<SalaryBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <errcode>Error</errcode> <message>sample string 1</message> </SalaryBaseResponse>