GET api/OndutyInfo/PageList?staffId={staffId}&changDay={changDay}&PostId={PostId}&PageNum={PageNum}&NumPerPage={NumPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
staffId

string

None.

changDay

date

None.

PostId

integer

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

IViewPageListOfOndutyInfoDTO
NameDescriptionTypeAdditional information
data

Collection of OndutyInfoDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

HasNextPage

boolean

None.

ColumnsList

Collection of Columns

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Name": "sample string 1",
      "OndutyDate": "2019-03-24T18:41:25.4181582+08:00",
      "Type": "sample string 2",
      "Account": "sample string 3",
      "Org2Code": "sample string 4",
      "OrgName": "sample string 5",
      "Tel": "sample string 6",
      "PostsId": 1,
      "PostsName": "sample string 7",
      "OndutyBanCiId": 1,
      "OndutyBanCiName": "sample string 8",
      "StartTime": "2019-03-24T18:41:25.4181582+08:00",
      "StartOndutyDateTime": "sample string 9",
      "EndOndutyDateTime": "sample string 10",
      "EndTime": "2019-03-24T18:41:25.4181582+08:00",
      "OndutyTeamsId": 1,
      "OndutyTeamsName": "sample string 11",
      "IsConfirm": true,
      "activeName": [
        "sample string 1",
        "sample string 2"
      ],
      "DateSource": 1,
      "ChangeTypeName": "sample string 12",
      "Id": 13,
      "CreateBy": "sample string 15",
      "CreateTime": "2019-03-24T18:41:25.4181582+08:00"
    },
    {
      "Name": "sample string 1",
      "OndutyDate": "2019-03-24T18:41:25.4181582+08:00",
      "Type": "sample string 2",
      "Account": "sample string 3",
      "Org2Code": "sample string 4",
      "OrgName": "sample string 5",
      "Tel": "sample string 6",
      "PostsId": 1,
      "PostsName": "sample string 7",
      "OndutyBanCiId": 1,
      "OndutyBanCiName": "sample string 8",
      "StartTime": "2019-03-24T18:41:25.4181582+08:00",
      "StartOndutyDateTime": "sample string 9",
      "EndOndutyDateTime": "sample string 10",
      "EndTime": "2019-03-24T18:41:25.4181582+08:00",
      "OndutyTeamsId": 1,
      "OndutyTeamsName": "sample string 11",
      "IsConfirm": true,
      "activeName": [
        "sample string 1",
        "sample string 2"
      ],
      "DateSource": 1,
      "ChangeTypeName": "sample string 12",
      "Id": 13,
      "CreateBy": "sample string 15",
      "CreateTime": "2019-03-24T18:41:25.4181582+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5",
  "HasNextPage": true,
  "ColumnsList": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<IViewPageListOfOndutyInfoDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <ColumnsList>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
  </ColumnsList>
  <HasNextPage>true</HasNextPage>
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:OndutyInfoDTO>
      <d2p1:CreateBy>sample string 15</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2019-03-24T18:41:25.4181582+08:00</d2p1:CreateTime>
      <d2p1:Id>13</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 14</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2019-03-24T18:41:25.4181582+08:00</d2p1:ModifyTime>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:ChangeTypeName>sample string 12</d2p1:ChangeTypeName>
      <d2p1:DateSource>1</d2p1:DateSource>
      <d2p1:EndOndutyDateTime>sample string 10</d2p1:EndOndutyDateTime>
      <d2p1:EndTime>2019-03-24T18:41:25.4181582+08:00</d2p1:EndTime>
      <d2p1:IsConfirm>true</d2p1:IsConfirm>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:OndutyBanCiId>1</d2p1:OndutyBanCiId>
      <d2p1:OndutyBanCiName>sample string 8</d2p1:OndutyBanCiName>
      <d2p1:OndutyDate>2019-03-24T18:41:25.4181582+08:00</d2p1:OndutyDate>
      <d2p1:OndutyTeamsId>1</d2p1:OndutyTeamsId>
      <d2p1:OndutyTeamsName>sample string 11</d2p1:OndutyTeamsName>
      <d2p1:Org2Code>sample string 4</d2p1:Org2Code>
      <d2p1:OrgName>sample string 5</d2p1:OrgName>
      <d2p1:PostsId>1</d2p1:PostsId>
      <d2p1:PostsName>sample string 7</d2p1:PostsName>
      <d2p1:StartOndutyDateTime>sample string 9</d2p1:StartOndutyDateTime>
      <d2p1:StartTime>2019-03-24T18:41:25.4181582+08:00</d2p1:StartTime>
      <d2p1:Tel>sample string 6</d2p1:Tel>
      <d2p1:Type>sample string 2</d2p1:Type>
      <d2p1:activeName xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:activeName>
    </d2p1:OndutyInfoDTO>
    <d2p1:OndutyInfoDTO>
      <d2p1:CreateBy>sample string 15</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2019-03-24T18:41:25.4181582+08:00</d2p1:CreateTime>
      <d2p1:Id>13</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 14</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2019-03-24T18:41:25.4181582+08:00</d2p1:ModifyTime>
      <d2p1:Account>sample string 3</d2p1:Account>
      <d2p1:ChangeTypeName>sample string 12</d2p1:ChangeTypeName>
      <d2p1:DateSource>1</d2p1:DateSource>
      <d2p1:EndOndutyDateTime>sample string 10</d2p1:EndOndutyDateTime>
      <d2p1:EndTime>2019-03-24T18:41:25.4181582+08:00</d2p1:EndTime>
      <d2p1:IsConfirm>true</d2p1:IsConfirm>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:OndutyBanCiId>1</d2p1:OndutyBanCiId>
      <d2p1:OndutyBanCiName>sample string 8</d2p1:OndutyBanCiName>
      <d2p1:OndutyDate>2019-03-24T18:41:25.4181582+08:00</d2p1:OndutyDate>
      <d2p1:OndutyTeamsId>1</d2p1:OndutyTeamsId>
      <d2p1:OndutyTeamsName>sample string 11</d2p1:OndutyTeamsName>
      <d2p1:Org2Code>sample string 4</d2p1:Org2Code>
      <d2p1:OrgName>sample string 5</d2p1:OrgName>
      <d2p1:PostsId>1</d2p1:PostsId>
      <d2p1:PostsName>sample string 7</d2p1:PostsName>
      <d2p1:StartOndutyDateTime>sample string 9</d2p1:StartOndutyDateTime>
      <d2p1:StartTime>2019-03-24T18:41:25.4181582+08:00</d2p1:StartTime>
      <d2p1:Tel>sample string 6</d2p1:Tel>
      <d2p1:Type>sample string 2</d2p1:Type>
      <d2p1:activeName xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:activeName>
    </d2p1:OndutyInfoDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfOndutyInfoDTOpv1JTFkd>