POST spsapi/SalaryBusiness/GetSalaryRestaurantList

Request Information

URI Parameters

None.

Body Parameters

RestaurantPageRequest
NameDescriptionTypeAdditional information
SalaryDate

string

None.

EmpId

integer

None.

DepId

integer

None.

EmpCode

string

None.

EmpStatus

integer

None.

Status

integer

None.

Remark

string

None.

MaxResultCount

integer

None.

SkipCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SalaryDate": "sample string 1",
  "EmpId": 1,
  "DepId": 1,
  "EmpCode": "sample string 2",
  "EmpStatus": 1,
  "Status": 1,
  "Remark": "sample string 3",
  "MaxResultCount": 4,
  "SkipCount": 5
}

application/xml, text/xml

Sample:
<RestaurantPageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <MaxResultCount>4</MaxResultCount>
  <SkipCount>5</SkipCount>
  <DepId>1</DepId>
  <EmpCode>sample string 2</EmpCode>
  <EmpId>1</EmpId>
  <EmpStatus>1</EmpStatus>
  <Remark>sample string 3</Remark>
  <SalaryDate>sample string 1</SalaryDate>
  <Status>1</Status>
</RestaurantPageRequest>

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

Response Information

Resource Description

BasePageResultOfEmpRestaurantDto
NameDescriptionTypeAdditional information
rows

Collection of EmpRestaurantDto

None.

total

integer

None.

errcode

ErrCode

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": [
    {
      "id": 1,
      "salary_date": "sample string 2",
      "restaurant_date": "sample string 3",
      "dep_id": 1,
      "dep_name": "sample string 4",
      "area_id": 1,
      "area_name": "sample string 5",
      "emp_id": 1,
      "emp_code": "sample string 6",
      "emp_name": "sample string 7",
      "attendance_days": 1.0,
      "restaurant_money": 1.0,
      "salary_cut_money": 1.0,
      "salary_cut_status": 1,
      "diff_money": 1.0,
      "emp_status": 1,
      "status": 1,
      "remark": "sample string 8",
      "ding_code": "sample string 9",
      "ding_check": 1,
      "update_time": "2024-11-25T17:38:03.1963278+08:00"
    },
    {
      "id": 1,
      "salary_date": "sample string 2",
      "restaurant_date": "sample string 3",
      "dep_id": 1,
      "dep_name": "sample string 4",
      "area_id": 1,
      "area_name": "sample string 5",
      "emp_id": 1,
      "emp_code": "sample string 6",
      "emp_name": "sample string 7",
      "attendance_days": 1.0,
      "restaurant_money": 1.0,
      "salary_cut_money": 1.0,
      "salary_cut_status": 1,
      "diff_money": 1.0,
      "emp_status": 1,
      "status": 1,
      "remark": "sample string 8",
      "ding_code": "sample string 9",
      "ding_check": 1,
      "update_time": "2024-11-25T17:38:03.1963278+08:00"
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<BasePageResultOfEmpRestaurantDtolcSimexH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <errcode>Error</errcode>
  <message>sample string 2</message>
  <rows>
    <EmpRestaurantDto>
      <area_id>1</area_id>
      <area_name>sample string 5</area_name>
      <attendance_days>1</attendance_days>
      <dep_id>1</dep_id>
      <dep_name>sample string 4</dep_name>
      <diff_money>1</diff_money>
      <ding_check>1</ding_check>
      <ding_code>sample string 9</ding_code>
      <emp_code>sample string 6</emp_code>
      <emp_id>1</emp_id>
      <emp_name>sample string 7</emp_name>
      <emp_status>1</emp_status>
      <id>1</id>
      <remark>sample string 8</remark>
      <restaurant_date>sample string 3</restaurant_date>
      <restaurant_money>1</restaurant_money>
      <salary_cut_money>1</salary_cut_money>
      <salary_cut_status>1</salary_cut_status>
      <salary_date>sample string 2</salary_date>
      <status>1</status>
      <update_time>2024-11-25T17:38:03.1963278+08:00</update_time>
    </EmpRestaurantDto>
    <EmpRestaurantDto>
      <area_id>1</area_id>
      <area_name>sample string 5</area_name>
      <attendance_days>1</attendance_days>
      <dep_id>1</dep_id>
      <dep_name>sample string 4</dep_name>
      <diff_money>1</diff_money>
      <ding_check>1</ding_check>
      <ding_code>sample string 9</ding_code>
      <emp_code>sample string 6</emp_code>
      <emp_id>1</emp_id>
      <emp_name>sample string 7</emp_name>
      <emp_status>1</emp_status>
      <id>1</id>
      <remark>sample string 8</remark>
      <restaurant_date>sample string 3</restaurant_date>
      <restaurant_money>1</restaurant_money>
      <salary_cut_money>1</salary_cut_money>
      <salary_cut_status>1</salary_cut_status>
      <salary_date>sample string 2</salary_date>
      <status>1</status>
      <update_time>2024-11-25T17:38:03.1963278+08:00</update_time>
    </EmpRestaurantDto>
  </rows>
  <total>1</total>
</BasePageResultOfEmpRestaurantDtolcSimexH>