POST api/WFEmpTrack/PageList

Request Information

URI Parameters

None.

Body Parameters

WFEmpTrackWhereDOM
NameDescriptionTypeAdditional information
Account

string

None.

Author

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "Author": "sample string 2",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<WFEmpTrackWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 1</Account>
  <Author>sample string 2</Author>
</WFEmpTrackWhereDOM>

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

Response Information

Resource Description

IViewPageListOfWFEmpTrackDTO
NameDescriptionTypeAdditional information
data

Collection of WFEmpTrackDTO

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": [
    {
      "Id": 1,
      "Account": "sample string 2",
      "Author": "sample string 3",
      "AuthorDate": "sample string 4",
      "AuthorToDate": "sample string 5",
      "AuthorWay": 1,
      "AuthorFlows": "sample string 6",
      "Remark": "sample string 7",
      "CreateDate": "2019-04-21T17:08:35.3238063+08:00"
    },
    {
      "Id": 1,
      "Account": "sample string 2",
      "Author": "sample string 3",
      "AuthorDate": "sample string 4",
      "AuthorToDate": "sample string 5",
      "AuthorWay": 1,
      "AuthorFlows": "sample string 6",
      "Remark": "sample string 7",
      "CreateDate": "2019-04-21T17:08:35.3238063+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:
<IViewPageListOfWFEmpTrackDTOpv1JTFkd 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:WFEmpTrackDTO>
      <d2p1:Account>sample string 2</d2p1:Account>
      <d2p1:Author>sample string 3</d2p1:Author>
      <d2p1:AuthorDate>sample string 4</d2p1:AuthorDate>
      <d2p1:AuthorFlows>sample string 6</d2p1:AuthorFlows>
      <d2p1:AuthorToDate>sample string 5</d2p1:AuthorToDate>
      <d2p1:AuthorWay>1</d2p1:AuthorWay>
      <d2p1:CreateDate>2019-04-21T17:08:35.3238063+08:00</d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Remark>sample string 7</d2p1:Remark>
    </d2p1:WFEmpTrackDTO>
    <d2p1:WFEmpTrackDTO>
      <d2p1:Account>sample string 2</d2p1:Account>
      <d2p1:Author>sample string 3</d2p1:Author>
      <d2p1:AuthorDate>sample string 4</d2p1:AuthorDate>
      <d2p1:AuthorFlows>sample string 6</d2p1:AuthorFlows>
      <d2p1:AuthorToDate>sample string 5</d2p1:AuthorToDate>
      <d2p1:AuthorWay>1</d2p1:AuthorWay>
      <d2p1:CreateDate>2019-04-21T17:08:35.3238063+08:00</d2p1:CreateDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Remark>sample string 7</d2p1:Remark>
    </d2p1:WFEmpTrackDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfWFEmpTrackDTOpv1JTFkd>