POST spsapi/SalaryBusiness/AddReceivingGroupSalary

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

Request Information

URI Parameters

None.

Body Parameters

AddSalaryReceivingGroupRequest
NameDescriptionTypeAdditional information
salary_date

添加月份 例:2023-08

string

None.

emp_id

员工编号(主键)

integer

None.

order_num

总数

integer

None.

order_price

单价

decimal number

None.

share_num

分摊

decimal number

None.

person_type

人员类型(卸货,上下架,收货)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "salary_date": "sample string 1",
  "emp_id": 2,
  "order_num": 3,
  "order_price": 4.0,
  "share_num": 5.0,
  "person_type": "sample string 6"
}

application/xml, text/xml

Sample:
<AddSalaryReceivingGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <emp_id>2</emp_id>
  <order_num>3</order_num>
  <order_price>4</order_price>
  <person_type>sample string 6</person_type>
  <salary_date>sample string 1</salary_date>
  <share_num>5</share_num>
</AddSalaryReceivingGroupRequest>

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 'AddSalaryReceivingGroupRequest'.

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>