POST spsapi/SalaryBusiness/AddSalaryTerminalDriver
新增终端司机绩效统计
Request Information
URI Parameters
None.
Body Parameters
AddSalaryTerminalDriverRequestName | Description | Type | Additional information |
---|---|---|---|
salary_date |
添加月份 例:2023-08 |
string |
None. |
emp_id |
员工编号(主键) |
integer |
None. |
delivery_amount |
送货金额 |
decimal number |
None. |
commission_ratio |
提成比例 |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "salary_date": "sample string 1", "emp_id": 2, "delivery_amount": 3.0, "commission_ratio": 4.0 }
application/xml, text/xml
Sample:
<AddSalaryTerminalDriverRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <commission_ratio>4</commission_ratio> <delivery_amount>3</delivery_amount> <emp_id>2</emp_id> <salary_date>sample string 1</salary_date> </AddSalaryTerminalDriverRequest>
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>