POST spsapi/SalaryBusiness/AddSalaryTerminalEmployee
新增终端绩效统计-员工绩效
Request Information
URI Parameters
None.
Body Parameters
AddSalaryTerminalEmployeeRequestName | Description | Type | Additional information |
---|---|---|---|
salary_date |
添加月份 例:2023-08 |
string |
None. |
emp_id |
员工编号 |
integer |
None. |
salary_type |
0:政策产品提成 1:销售额提成 |
integer |
None. |
base_money |
基数 |
decimal number |
None. |
middle_money |
中值任务 |
decimal number |
None. |
high_money |
高值任务 |
decimal number |
None. |
sale_money |
实际完成销售金额 |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "salary_date": "sample string 1", "emp_id": 2, "salary_type": 3, "base_money": 4.0, "middle_money": 5.0, "high_money": 6.0, "sale_money": 7.0 }
application/xml, text/xml
Sample:
<AddSalaryTerminalEmployeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <base_money>4</base_money> <emp_id>2</emp_id> <high_money>6</high_money> <middle_money>5</middle_money> <salary_date>sample string 1</salary_date> <salary_type>3</salary_type> <sale_money>7</sale_money> </AddSalaryTerminalEmployeeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SalaryBaseResponseName | 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>