POST spsapi/SalaryBusiness/AddSalaryTerminalSettingTask
新增终端绩效统计-任务配置
Request Information
URI Parameters
None.
Body Parameters
AddSalaryTerminalSettingTaskRequestName | Description | Type | Additional information |
---|---|---|---|
emp_id |
员工Id |
integer |
None. |
middle_task_money |
中值任务 |
decimal number |
None. |
high_task_money |
高值任务 |
decimal number |
None. |
task_type |
类别:0-销售任务 1-政策任务 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "emp_id": 1, "middle_task_money": 2.0, "high_task_money": 3.0, "task_type": 4 }
application/xml, text/xml
Sample:
<AddSalaryTerminalSettingTaskRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <emp_id>1</emp_id> <high_task_money>3</high_task_money> <middle_task_money>2</middle_task_money> <task_type>4</task_type> </AddSalaryTerminalSettingTaskRequest>
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>