POST spsapi/SalaryBusiness/GetEmpRestaurantOrderList

Request Information

URI Parameters

None.

Body Parameters

RestaurantOrderPageRequest
NameDescriptionTypeAdditional information
RestId

integer

None.

MaxResultCount

integer

None.

SkipCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RestId": 1,
  "MaxResultCount": 1,
  "SkipCount": 2
}

application/xml, text/xml

Sample:
<RestaurantOrderPageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.BaseModel">
  <MaxResultCount>1</MaxResultCount>
  <SkipCount>2</SkipCount>
  <RestId>1</RestId>
</RestaurantOrderPageRequest>

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

Response Information

Resource Description

BasePageResultOfRestaurantOrderListDto
NameDescriptionTypeAdditional information
rows

Collection of RestaurantOrderListDto

None.

total

integer

None.

errcode

ErrCode

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rows": [
    {
      "order_sn": "sample string 1",
      "dep_name": "sample string 2",
      "name": "sample string 3",
      "create_at": "2024-11-25T17:27:06.5879293+08:00",
      "type": 1,
      "pay_actual_money": 1.0,
      "subsidy_money": 1.0,
      "actual_money": 1.0
    },
    {
      "order_sn": "sample string 1",
      "dep_name": "sample string 2",
      "name": "sample string 3",
      "create_at": "2024-11-25T17:27:06.5879293+08:00",
      "type": 1,
      "pay_actual_money": 1.0,
      "subsidy_money": 1.0,
      "actual_money": 1.0
    }
  ],
  "total": 1,
  "errcode": 2,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<BasePageResultOfRestaurantOrderListDtolcSimexH 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>
    <RestaurantOrderListDto>
      <actual_money>1</actual_money>
      <create_at>2024-11-25T17:27:06.5879293+08:00</create_at>
      <dep_name>sample string 2</dep_name>
      <name>sample string 3</name>
      <order_sn>sample string 1</order_sn>
      <pay_actual_money>1</pay_actual_money>
      <subsidy_money>1</subsidy_money>
      <type>1</type>
    </RestaurantOrderListDto>
    <RestaurantOrderListDto>
      <actual_money>1</actual_money>
      <create_at>2024-11-25T17:27:06.5879293+08:00</create_at>
      <dep_name>sample string 2</dep_name>
      <name>sample string 3</name>
      <order_sn>sample string 1</order_sn>
      <pay_actual_money>1</pay_actual_money>
      <subsidy_money>1</subsidy_money>
      <type>1</type>
    </RestaurantOrderListDto>
  </rows>
  <total>1</total>
</BasePageResultOfRestaurantOrderListDtolcSimexH>