POST spsapi/SalaryBusiness/AddSalaryTerminalSettingOffice
新增终端绩效统计-内勤人员配置
Request Information
URI Parameters
None.
Body Parameters
AddSalaryTerminalSettingOfficeRequestName | Description | Type | Additional information |
---|---|---|---|
emp_id |
员工Id |
integer |
None. |
sale_id |
销售Id(整体:0 其他人:具体的id) |
integer |
None. |
commission_ratio |
提成比例 |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "emp_id": 1, "sale_id": 2, "commission_ratio": 3.0 }
application/xml, text/xml
Sample:
<AddSalaryTerminalSettingOfficeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <commission_ratio>3</commission_ratio> <emp_id>1</emp_id> <sale_id>2</sale_id> </AddSalaryTerminalSettingOfficeRequest>
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>