POST spsapi/SalarySale/GetEmpList

获取员工信息

Request Information

URI Parameters

None.

Body Parameters

EmpListRequest
NameDescriptionTypeAdditional information
page_type

页面类型 君御客服绩效页面-junyu 三方运营绩效页面-run 三方阿里巴巴绩效页面-alibaba 三方客服绩效页面-service 三方设计绩效页面-design

string

None.

emp_name

员工姓名

string

None.

Request Formats

application/json, text/json

Sample:
{
  "page_type": "sample string 1",
  "emp_name": "sample string 2"
}

application/xml, text/xml

Sample:
<EmpListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <emp_name>sample string 2</emp_name>
  <page_type>sample string 1</page_type>
</EmpListRequest>

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

Response Information

Resource Description

SalaryBasePageResultOfEmployeeModelMin
NameDescriptionTypeAdditional information
rows

Collection of EmployeeModelMin

None.

total

integer

None.

errcode

错误编码 100:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": [
    {
      "emp_id": 1,
      "name": "sample string 1",
      "emp_code": "sample string 2",
      "d_id": 1,
      "dname": "sample string 3",
      "regular_time": "2024-11-25T17:17:26.8340231+08:00",
      "status": "sample string 4"
    },
    {
      "emp_id": 1,
      "name": "sample string 1",
      "emp_code": "sample string 2",
      "d_id": 1,
      "dname": "sample string 3",
      "regular_time": "2024-11-25T17:17:26.8340231+08:00",
      "status": "sample string 4"
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<SalaryBasePageResultOfEmployeeModelMinkfa5FTaK 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>
    <EmployeeModelMin>
      <d_id>1</d_id>
      <dname>sample string 3</dname>
      <emp_code>sample string 2</emp_code>
      <emp_id>1</emp_id>
      <name>sample string 1</name>
      <regular_time>2024-11-25T17:17:26.8340231+08:00</regular_time>
      <status>sample string 4</status>
    </EmployeeModelMin>
    <EmployeeModelMin>
      <d_id>1</d_id>
      <dname>sample string 3</dname>
      <emp_code>sample string 2</emp_code>
      <emp_id>1</emp_id>
      <name>sample string 1</name>
      <regular_time>2024-11-25T17:17:26.8340231+08:00</regular_time>
      <status>sample string 4</status>
    </EmployeeModelMin>
  </rows>
  <total>1</total>
</SalaryBasePageResultOfEmployeeModelMinkfa5FTaK>