POST spsapi/SalaryBusiness/AddProcessingGroupSalary

添加仓库绩效统计-加工组 薪资数据

Request Information

URI Parameters

None.

Body Parameters

AddSalaryProcessingGroupRequest
NameDescriptionTypeAdditional information
salary_date

添加月份 例:2023-08

string

None.

emp_id

员工编号(主键)

integer

None.

project

项目

string

None.

finish_num

完成量

integer

None.

unit

单位

string

None.

base_count

绩效计件基数

integer

None.

auto_performance

机动绩效(占比3%)

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "salary_date": "sample string 1",
  "emp_id": 2,
  "project": "sample string 3",
  "finish_num": 4,
  "unit": "sample string 5",
  "base_count": 6,
  "auto_performance": 7.0
}

application/xml, text/xml

Sample:
<AddSalaryProcessingGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <auto_performance>7</auto_performance>
  <base_count>6</base_count>
  <emp_id>2</emp_id>
  <finish_num>4</finish_num>
  <project>sample string 3</project>
  <salary_date>sample string 1</salary_date>
  <unit>sample string 5</unit>
</AddSalaryProcessingGroupRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddSalaryProcessingGroupRequest'.

Response Information

Resource Description

SalaryBaseResponse
NameDescriptionTypeAdditional 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>