POST spsapi/SalaryBusiness/GetSalaryModifiedLogList

获取薪资日志

Request Information

URI Parameters

None.

Body Parameters

SalaryLogResponse
NameDescriptionTypeAdditional information
SalaryDate

查询日期(例:2023-08)

string

None.

EmpCode

员工工号

string

None.

SalaryItem

薪资项目

string

None.

MaxResultCount

每页多少条

integer

None.

SkipCount

越过多少条

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SalaryDate": "sample string 1",
  "EmpCode": "sample string 2",
  "SalaryItem": "sample string 3",
  "MaxResultCount": 4,
  "SkipCount": 5
}

application/xml, text/xml

Sample:
<SalaryLogResponse 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>
  <EmpCode>sample string 2</EmpCode>
  <SalaryDate>sample string 1</SalaryDate>
  <SalaryItem>sample string 3</SalaryItem>
</SalaryLogResponse>

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

Response Information

Resource Description

SalaryBasePageResultOfSalaryLogModelDto
NameDescriptionTypeAdditional information
rows

Collection of SalaryLogModelDto

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",
      "salary_type": 3,
      "salary_item": "sample string 4",
      "salary_val": 5.0,
      "emp_code": "sample string 6",
      "add_time": "2024-11-25T17:39:43.4707418+08:00",
      "reason": "sample string 8",
      "add_man": "sample string 9",
      "salary_origin_val": 1.0
    },
    {
      "id": 1,
      "salary_date": "sample string 2",
      "salary_type": 3,
      "salary_item": "sample string 4",
      "salary_val": 5.0,
      "emp_code": "sample string 6",
      "add_time": "2024-11-25T17:39:43.4707418+08:00",
      "reason": "sample string 8",
      "add_man": "sample string 9",
      "salary_origin_val": 1.0
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<SalaryBasePageResultOfSalaryLogModelDtokfa5FTaK 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>
    <SalaryLogModelDto>
      <add_man>sample string 9</add_man>
      <add_time>2024-11-25T17:39:43.4707418+08:00</add_time>
      <emp_code>sample string 6</emp_code>
      <id>1</id>
      <reason>sample string 8</reason>
      <salary_date>sample string 2</salary_date>
      <salary_item>sample string 4</salary_item>
      <salary_origin_val>1</salary_origin_val>
      <salary_type>3</salary_type>
      <salary_val>5</salary_val>
    </SalaryLogModelDto>
    <SalaryLogModelDto>
      <add_man>sample string 9</add_man>
      <add_time>2024-11-25T17:39:43.4707418+08:00</add_time>
      <emp_code>sample string 6</emp_code>
      <id>1</id>
      <reason>sample string 8</reason>
      <salary_date>sample string 2</salary_date>
      <salary_item>sample string 4</salary_item>
      <salary_origin_val>1</salary_origin_val>
      <salary_type>3</salary_type>
      <salary_val>5</salary_val>
    </SalaryLogModelDto>
  </rows>
  <total>1</total>
</SalaryBasePageResultOfSalaryLogModelDtokfa5FTaK>