POST api/TiaoBan/tiaobanList

Request Information

URI Parameters

None.

Body Parameters

tiaobanListPost
NameDescriptionTypeAdditional information
status

状态码。pending = 1, reject=2, approve=3, over=4

integer

None.

type

类型.1:我发起的。2我收到的.3代表需要我审批的.4:调班。5:还班。14:我发起的主动调班。15:我的还班(包括收到的代班和发起让别人还的)

integer

None.

groupId

店铺id

integer

None.

userId

店员id

integer

None.

beginDt

string

None.

endDt

string

None.

shenpiid

integer

None.

weidu

传递1代表未读的调班

integer

None.

skip

跳过多少条

integer

None.

limit

取多少条

integer

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "status": 1,
  "type": 1,
  "groupId": 1,
  "userId": 1,
  "beginDt": "sample string 1",
  "endDt": "sample string 2",
  "shenpiid": 1,
  "weidu": 1,
  "skip": 3,
  "limit": 4,
  "tel": "sample string 5",
  "token": "sample string 6",
  "uid": 1
}

application/xml, text/xml

Sample:
<tiaobanListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 5</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 6</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <limit xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">4</limit>
  <skip xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">3</skip>
  <beginDt>sample string 1</beginDt>
  <endDt>sample string 2</endDt>
  <groupId>1</groupId>
  <shenpiid>1</shenpiid>
  <status>1</status>
  <type>1</type>
  <userId>1</userId>
  <weidu>1</weidu>
</tiaobanListPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tiaobanListResult
NameDescriptionTypeAdditional information
list

数组: tiaobanItem

None.

code

状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在...

integer

None.

msg

成功或者错误的说明,例如:登录成功,token过期...

string

None.

Response Formats

application/json, text/json

Sample:
{
  "list": [
    {
      "id": 1,
      "cause": "sample string 2",
      "begindt": "sample string 3",
      "endt": "sample string 4",
      "creatorId": 5,
      "creatorName": "sample string 6",
      "toUserId": 7,
      "toUserName": "sample string 8",
      "shenpiUserId": 9,
      "shenpiUserName": "sample string 10",
      "remarks": "sample string 11",
      "createDt": "2026-01-11T21:25:39.5154241+08:00",
      "groupName": "sample string 13",
      "monthCount": 14,
      "status": 1,
      "huanban": 0,
      "type": 15,
      "weidu": 16,
      "huanbanid": 1,
      "yihuanban": 1,
      "huanbandt": "sample string 17"
    },
    {
      "id": 1,
      "cause": "sample string 2",
      "begindt": "sample string 3",
      "endt": "sample string 4",
      "creatorId": 5,
      "creatorName": "sample string 6",
      "toUserId": 7,
      "toUserName": "sample string 8",
      "shenpiUserId": 9,
      "shenpiUserName": "sample string 10",
      "remarks": "sample string 11",
      "createDt": "2026-01-11T21:25:39.5154241+08:00",
      "groupName": "sample string 13",
      "monthCount": 14,
      "status": 1,
      "huanban": 0,
      "type": 15,
      "weidu": 16,
      "huanbanid": 1,
      "yihuanban": 1,
      "huanbandt": "sample string 17"
    }
  ],
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<tiaobanListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
  <code xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</code>
  <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 2</msg>
  <list>
    <tiaobanItem>
      <begindt>sample string 3</begindt>
      <cause>sample string 2</cause>
      <createDt>2026-01-11T21:25:39.5154241+08:00</createDt>
      <creatorId>5</creatorId>
      <creatorName>sample string 6</creatorName>
      <endt>sample string 4</endt>
      <groupName>sample string 13</groupName>
      <huanban>weihuan</huanban>
      <huanbandt>sample string 17</huanbandt>
      <huanbanid>1</huanbanid>
      <id>1</id>
      <monthCount>14</monthCount>
      <remarks>sample string 11</remarks>
      <shenpiUserId>9</shenpiUserId>
      <shenpiUserName>sample string 10</shenpiUserName>
      <status>1</status>
      <toUserId>7</toUserId>
      <toUserName>sample string 8</toUserName>
      <type>15</type>
      <weidu>16</weidu>
      <yihuanban>1</yihuanban>
    </tiaobanItem>
    <tiaobanItem>
      <begindt>sample string 3</begindt>
      <cause>sample string 2</cause>
      <createDt>2026-01-11T21:25:39.5154241+08:00</createDt>
      <creatorId>5</creatorId>
      <creatorName>sample string 6</creatorName>
      <endt>sample string 4</endt>
      <groupName>sample string 13</groupName>
      <huanban>weihuan</huanban>
      <huanbandt>sample string 17</huanbandt>
      <huanbanid>1</huanbanid>
      <id>1</id>
      <monthCount>14</monthCount>
      <remarks>sample string 11</remarks>
      <shenpiUserId>9</shenpiUserId>
      <shenpiUserName>sample string 10</shenpiUserName>
      <status>1</status>
      <toUserId>7</toUserId>
      <toUserName>sample string 8</toUserName>
      <type>15</type>
      <weidu>16</weidu>
      <yihuanban>1</yihuanban>
    </tiaobanItem>
  </list>
</tiaobanListResult>