POST spsapi/SalaryBusiness/GetSalaryTerminalOfficeList

获取终端绩效统计-内勤(服务人员)

Request Information

URI Parameters

None.

Body Parameters

SalaryTerminalOfficeRequest
NameDescriptionTypeAdditional information
SalaryDate

查询日期(例:2023-08)

string

None.

EmpName

员工姓名

string

None.

MaxResultCount

每页多少条

integer

None.

SkipCount

越过多少条

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SalaryDate": "sample string 1",
  "EmpName": "sample string 2",
  "MaxResultCount": 3,
  "SkipCount": 4
}

application/xml, text/xml

Sample:
<SalaryTerminalOfficeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <MaxResultCount>3</MaxResultCount>
  <SkipCount>4</SkipCount>
  <EmpName>sample string 2</EmpName>
  <SalaryDate>sample string 1</SalaryDate>
</SalaryTerminalOfficeRequest>

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

Response Information

Resource Description

SalaryBasePageResultOfSalaryTerminalOfficeModelDto
NameDescriptionTypeAdditional information
rows

Collection of SalaryTerminalOfficeModelDto

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": 3,
      "d_name": "sample string 4",
      "emp_id": 5,
      "emp_name": "sample string 6",
      "month_pay": 7.0,
      "add_time": "2024-11-25T17:49:00.0517965+08:00",
      "update_time": "2024-11-25T17:49:00.0517965+08:00",
      "update_name": "sample string 8",
      "sale_amount": 9.0,
      "commission_ratio": 10.0,
      "amount_performance": 11.0,
      "is_delete": 12,
      "emp_service": "sample string 13",
      "sum_sale_amount": 14.0,
      "sum_commission_ratio": 15.0,
      "sum_amount_performance": 16.0
    },
    {
      "id": 1,
      "salary_date": "sample string 2",
      "d_id": 3,
      "d_name": "sample string 4",
      "emp_id": 5,
      "emp_name": "sample string 6",
      "month_pay": 7.0,
      "add_time": "2024-11-25T17:49:00.0517965+08:00",
      "update_time": "2024-11-25T17:49:00.0517965+08:00",
      "update_name": "sample string 8",
      "sale_amount": 9.0,
      "commission_ratio": 10.0,
      "amount_performance": 11.0,
      "is_delete": 12,
      "emp_service": "sample string 13",
      "sum_sale_amount": 14.0,
      "sum_commission_ratio": 15.0,
      "sum_amount_performance": 16.0
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<SalaryBasePageResultOfSalaryTerminalOfficeModelDtokfa5FTaK 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>
    <SalaryTerminalOfficeModelDto>
      <add_time>2024-11-25T17:49:00.0517965+08:00</add_time>
      <amount_performance>11</amount_performance>
      <commission_ratio>10</commission_ratio>
      <d_id>3</d_id>
      <d_name>sample string 4</d_name>
      <emp_id>5</emp_id>
      <emp_name>sample string 6</emp_name>
      <emp_service>sample string 13</emp_service>
      <id>1</id>
      <is_delete>12</is_delete>
      <month_pay>7</month_pay>
      <salary_date>sample string 2</salary_date>
      <sale_amount>9</sale_amount>
      <sum_amount_performance>16</sum_amount_performance>
      <sum_commission_ratio>15</sum_commission_ratio>
      <sum_sale_amount>14</sum_sale_amount>
      <update_name>sample string 8</update_name>
      <update_time>2024-11-25T17:49:00.0517965+08:00</update_time>
    </SalaryTerminalOfficeModelDto>
    <SalaryTerminalOfficeModelDto>
      <add_time>2024-11-25T17:49:00.0517965+08:00</add_time>
      <amount_performance>11</amount_performance>
      <commission_ratio>10</commission_ratio>
      <d_id>3</d_id>
      <d_name>sample string 4</d_name>
      <emp_id>5</emp_id>
      <emp_name>sample string 6</emp_name>
      <emp_service>sample string 13</emp_service>
      <id>1</id>
      <is_delete>12</is_delete>
      <month_pay>7</month_pay>
      <salary_date>sample string 2</salary_date>
      <sale_amount>9</sale_amount>
      <sum_amount_performance>16</sum_amount_performance>
      <sum_commission_ratio>15</sum_commission_ratio>
      <sum_sale_amount>14</sum_sale_amount>
      <update_name>sample string 8</update_name>
      <update_time>2024-11-25T17:49:00.0517965+08:00</update_time>
    </SalaryTerminalOfficeModelDto>
  </rows>
  <total>1</total>
</SalaryBasePageResultOfSalaryTerminalOfficeModelDtokfa5FTaK>