POST api/WFEmp/PageList

Request Information

URI Parameters

None.

Body Parameters

WFEmpWhereDOM
NameDescriptionTypeAdditional information
OrgDeptCode

string

None.

HeadBackCode

string

None.

OrgCode

string

None.

EmpNo

string

None.

StaffId

integer

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrgDeptCode": "sample string 1",
  "HeadBackCode": "sample string 2",
  "OrgCode": "sample string 3",
  "EmpNo": "sample string 4",
  "StaffId": 5,
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<WFEmpWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <EmpNo>sample string 4</EmpNo>
  <HeadBackCode>sample string 2</HeadBackCode>
  <OrgCode>sample string 3</OrgCode>
  <OrgDeptCode>sample string 1</OrgDeptCode>
  <StaffId>5</StaffId>
</WFEmpWhereDOM>

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

Response Information

Resource Description

IViewPageListOfWFEmpDTO
NameDescriptionTypeAdditional information
data

Collection of WFEmpDTO

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": [
    {
      "No": "sample string 1",
      "Name": "sample string 2",
      "UseSta": 1,
      "Tel": "sample string 3",
      "FK_Dept": "sample string 4",
      "Email": "sample string 5",
      "TM": "sample string 6",
      "AlertWay": 1,
      "Author": "sample string 7",
      "AuthorDate": "sample string 8",
      "AuthorWay": 1,
      "AuthorToDate": "sample string 9",
      "AuthorFlows": "sample string 10",
      "Stas": "sample string 11",
      "Depts": "sample string 12",
      "FtpUrl": "sample string 13",
      "Msg": "sample string 14",
      "Style": "sample string 15",
      "Idx": 1,
      "StaffID": 1
    },
    {
      "No": "sample string 1",
      "Name": "sample string 2",
      "UseSta": 1,
      "Tel": "sample string 3",
      "FK_Dept": "sample string 4",
      "Email": "sample string 5",
      "TM": "sample string 6",
      "AlertWay": 1,
      "Author": "sample string 7",
      "AuthorDate": "sample string 8",
      "AuthorWay": 1,
      "AuthorToDate": "sample string 9",
      "AuthorFlows": "sample string 10",
      "Stas": "sample string 11",
      "Depts": "sample string 12",
      "FtpUrl": "sample string 13",
      "Msg": "sample string 14",
      "Style": "sample string 15",
      "Idx": 1,
      "StaffID": 1
    }
  ],
  "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:
<IViewPageListOfWFEmpDTOpv1JTFkd 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:WFEmpDTO>
      <d2p1:AlertWay>1</d2p1:AlertWay>
      <d2p1:Author>sample string 7</d2p1:Author>
      <d2p1:AuthorDate>sample string 8</d2p1:AuthorDate>
      <d2p1:AuthorFlows>sample string 10</d2p1:AuthorFlows>
      <d2p1:AuthorToDate>sample string 9</d2p1:AuthorToDate>
      <d2p1:AuthorWay>1</d2p1:AuthorWay>
      <d2p1:Depts>sample string 12</d2p1:Depts>
      <d2p1:Email>sample string 5</d2p1:Email>
      <d2p1:FK_Dept>sample string 4</d2p1:FK_Dept>
      <d2p1:FtpUrl>sample string 13</d2p1:FtpUrl>
      <d2p1:Idx>1</d2p1:Idx>
      <d2p1:Msg>sample string 14</d2p1:Msg>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:No>sample string 1</d2p1:No>
      <d2p1:StaffID>1</d2p1:StaffID>
      <d2p1:Stas>sample string 11</d2p1:Stas>
      <d2p1:Style>sample string 15</d2p1:Style>
      <d2p1:TM>sample string 6</d2p1:TM>
      <d2p1:Tel>sample string 3</d2p1:Tel>
      <d2p1:UseSta>1</d2p1:UseSta>
    </d2p1:WFEmpDTO>
    <d2p1:WFEmpDTO>
      <d2p1:AlertWay>1</d2p1:AlertWay>
      <d2p1:Author>sample string 7</d2p1:Author>
      <d2p1:AuthorDate>sample string 8</d2p1:AuthorDate>
      <d2p1:AuthorFlows>sample string 10</d2p1:AuthorFlows>
      <d2p1:AuthorToDate>sample string 9</d2p1:AuthorToDate>
      <d2p1:AuthorWay>1</d2p1:AuthorWay>
      <d2p1:Depts>sample string 12</d2p1:Depts>
      <d2p1:Email>sample string 5</d2p1:Email>
      <d2p1:FK_Dept>sample string 4</d2p1:FK_Dept>
      <d2p1:FtpUrl>sample string 13</d2p1:FtpUrl>
      <d2p1:Idx>1</d2p1:Idx>
      <d2p1:Msg>sample string 14</d2p1:Msg>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:No>sample string 1</d2p1:No>
      <d2p1:StaffID>1</d2p1:StaffID>
      <d2p1:Stas>sample string 11</d2p1:Stas>
      <d2p1:Style>sample string 15</d2p1:Style>
      <d2p1:TM>sample string 6</d2p1:TM>
      <d2p1:Tel>sample string 3</d2p1:Tel>
      <d2p1:UseSta>1</d2p1:UseSta>
    </d2p1:WFEmpDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfWFEmpDTOpv1JTFkd>