POST spsapi/SalaryBusiness/GetEmpSalaryList
获取薪资数据
Request Information
URI Parameters
None.
Body Parameters
SalaryBasePageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SalaryDate |
查询日期(例:2023-08) |
string |
None. |
| EmpName |
员工姓名 |
string |
None. |
| DepName |
部门名称 |
string |
None. |
| MaxResultCount |
每页多少条 |
integer |
None. |
| SkipCount |
越过多少条 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SalaryDate": "sample string 1",
"EmpName": "sample string 2",
"DepName": "sample string 3",
"MaxResultCount": 4,
"SkipCount": 5
}
application/xml, text/xml
Sample:
<SalaryBasePageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels"> <MaxResultCount>4</MaxResultCount> <SkipCount>5</SkipCount> <DepName>sample string 3</DepName> <EmpName>sample string 2</EmpName> <SalaryDate>sample string 1</SalaryDate> </SalaryBasePageRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SalaryBasePageResultOfEmpSalaryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| rows | Collection of EmpSalaryDto |
None. |
|
| total | integer |
None. |
|
| errcode |
错误编码 100:error 401:鉴权失败;200:成功;500:内部错误; |
ErrCode |
None. |
| message |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"rows": [
{
"id": 1,
"salary_date": "sample string 2",
"d_id": 1,
"d_name": "sample string 3",
"emp_id": 4,
"emp_name": "sample string 5",
"attendance_full_days": 6.0,
"attendance_days": 7.0,
"absence_days": 8.0,
"month_pay": 9.0,
"lev_pay": 10.0,
"base_pos_pay": 11.0,
"moreattendance_reward": 12.0,
"absence_cut": 13.0,
"late_cut": 14.0,
"appeal_cut": 15.0,
"real_month_pay": 16.0,
"performance_reward": 17.0,
"reward": 18.0,
"employeed_year_reward": 19.0,
"communication_reward": 20.0,
"fuel_reward": 21.0,
"other_reward": 22.0,
"real_pay": 23.0,
"performance_cut": 24.0,
"meal_fee_cut": 25.0,
"insurance_cut": 26.0,
"integral_cut": 27.0,
"other_cut": 28.0,
"real_cut": 29.0,
"real_salary": 30.0
},
{
"id": 1,
"salary_date": "sample string 2",
"d_id": 1,
"d_name": "sample string 3",
"emp_id": 4,
"emp_name": "sample string 5",
"attendance_full_days": 6.0,
"attendance_days": 7.0,
"absence_days": 8.0,
"month_pay": 9.0,
"lev_pay": 10.0,
"base_pos_pay": 11.0,
"moreattendance_reward": 12.0,
"absence_cut": 13.0,
"late_cut": 14.0,
"appeal_cut": 15.0,
"real_month_pay": 16.0,
"performance_reward": 17.0,
"reward": 18.0,
"employeed_year_reward": 19.0,
"communication_reward": 20.0,
"fuel_reward": 21.0,
"other_reward": 22.0,
"real_pay": 23.0,
"performance_cut": 24.0,
"meal_fee_cut": 25.0,
"insurance_cut": 26.0,
"integral_cut": 27.0,
"other_cut": 28.0,
"real_cut": 29.0,
"real_salary": 30.0
}
],
"total": 1,
"errcode": 2,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<SalaryBasePageResultOfEmpSalaryDtokfa5FTaK 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 2</message>
<rows>
<EmpSalaryDto>
<absence_cut>13</absence_cut>
<absence_days>8</absence_days>
<appeal_cut>15</appeal_cut>
<attendance_days>7</attendance_days>
<attendance_full_days>6</attendance_full_days>
<base_pos_pay>11</base_pos_pay>
<communication_reward>20</communication_reward>
<d_id>1</d_id>
<d_name>sample string 3</d_name>
<emp_id>4</emp_id>
<emp_name>sample string 5</emp_name>
<employeed_year_reward>19</employeed_year_reward>
<fuel_reward>21</fuel_reward>
<id>1</id>
<insurance_cut>26</insurance_cut>
<integral_cut>27</integral_cut>
<late_cut>14</late_cut>
<lev_pay>10</lev_pay>
<meal_fee_cut>25</meal_fee_cut>
<month_pay>9</month_pay>
<moreattendance_reward>12</moreattendance_reward>
<other_cut>28</other_cut>
<other_reward>22</other_reward>
<performance_cut>24</performance_cut>
<performance_reward>17</performance_reward>
<real_cut>29</real_cut>
<real_month_pay>16</real_month_pay>
<real_pay>23</real_pay>
<real_salary>30</real_salary>
<reward>18</reward>
<salary_date>sample string 2</salary_date>
</EmpSalaryDto>
<EmpSalaryDto>
<absence_cut>13</absence_cut>
<absence_days>8</absence_days>
<appeal_cut>15</appeal_cut>
<attendance_days>7</attendance_days>
<attendance_full_days>6</attendance_full_days>
<base_pos_pay>11</base_pos_pay>
<communication_reward>20</communication_reward>
<d_id>1</d_id>
<d_name>sample string 3</d_name>
<emp_id>4</emp_id>
<emp_name>sample string 5</emp_name>
<employeed_year_reward>19</employeed_year_reward>
<fuel_reward>21</fuel_reward>
<id>1</id>
<insurance_cut>26</insurance_cut>
<integral_cut>27</integral_cut>
<late_cut>14</late_cut>
<lev_pay>10</lev_pay>
<meal_fee_cut>25</meal_fee_cut>
<month_pay>9</month_pay>
<moreattendance_reward>12</moreattendance_reward>
<other_cut>28</other_cut>
<other_reward>22</other_reward>
<performance_cut>24</performance_cut>
<performance_reward>17</performance_reward>
<real_cut>29</real_cut>
<real_month_pay>16</real_month_pay>
<real_pay>23</real_pay>
<real_salary>30</real_salary>
<reward>18</reward>
<salary_date>sample string 2</salary_date>
</EmpSalaryDto>
</rows>
<total>1</total>
</SalaryBasePageResultOfEmpSalaryDtokfa5FTaK>