POST api/TiaoBan/tiaobanItem

调班详情

Request Information

URI Parameters

None.

Body Parameters

tiaobanItemPost
NameDescriptionTypeAdditional information
id

integer

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tel": "sample string 2",
  "token": "sample string 3",
  "uid": 1
}

application/xml, text/xml

Sample:
<tiaobanItemPost 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 2</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <id>1</id>
</tiaobanItemPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tiaobanItemResult
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

id

integer

None.

cause

string

None.

begindt

string

None.

endt

string

None.

creatorId

调班发起人id

integer

None.

creatorName

string

None.

toUserId

代办人id

integer

None.

toUserName

string

None.

shenpiUserId

审批人id

integer

None.

shenpiUserName

string

None.

remarks

string

None.

createDt

date

None.

groupName

string

None.

monthCount

integer

None.

status

integer

None.

huanban

TiaoBanHuanBan

None.

type

integer

None.

weidu

integer

None.

huanbanid

如果是还班,被还班的那次调班的Id

integer

None.

yihuanban

1:已还班。0:未还班。

integer

None.

huanbandt

换班时间

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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