POST api/portemp/PageList

Request Information

URI Parameters

None.

Body Parameters

portempWhereDOM
NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<portempWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
</portempWhereDOM>

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

Response Information

Resource Description

IViewPageListOfportempDTO
NameDescriptionTypeAdditional information
data

Collection of portempDTO

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",
      "EmpNo": "sample string 2",
      "Name": "sample string 3",
      "Pass": "sample string 4",
      "FK_Dept": "sample string 5",
      "FK_Duty": "sample string 6",
      "Leader": "sample string 7",
      "SID": "sample string 8",
      "tel": "sample string 9",
      "email": "sample string 10",
      "NumOfDept": "sample string 11",
      "Idx": "sample string 12",
      "Phone": "sample string 13"
    },
    {
      "No": "sample string 1",
      "EmpNo": "sample string 2",
      "Name": "sample string 3",
      "Pass": "sample string 4",
      "FK_Dept": "sample string 5",
      "FK_Duty": "sample string 6",
      "Leader": "sample string 7",
      "SID": "sample string 8",
      "tel": "sample string 9",
      "email": "sample string 10",
      "NumOfDept": "sample string 11",
      "Idx": "sample string 12",
      "Phone": "sample string 13"
    }
  ],
  "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:
<IViewPageListOfportempDTOpv1JTFkd 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:portempDTO>
      <d2p1:EmpNo>sample string 2</d2p1:EmpNo>
      <d2p1:FK_Dept>sample string 5</d2p1:FK_Dept>
      <d2p1:FK_Duty>sample string 6</d2p1:FK_Duty>
      <d2p1:Idx>sample string 12</d2p1:Idx>
      <d2p1:Leader>sample string 7</d2p1:Leader>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:No>sample string 1</d2p1:No>
      <d2p1:NumOfDept>sample string 11</d2p1:NumOfDept>
      <d2p1:Pass>sample string 4</d2p1:Pass>
      <d2p1:Phone>sample string 13</d2p1:Phone>
      <d2p1:SID>sample string 8</d2p1:SID>
      <d2p1:email>sample string 10</d2p1:email>
      <d2p1:tel>sample string 9</d2p1:tel>
    </d2p1:portempDTO>
    <d2p1:portempDTO>
      <d2p1:EmpNo>sample string 2</d2p1:EmpNo>
      <d2p1:FK_Dept>sample string 5</d2p1:FK_Dept>
      <d2p1:FK_Duty>sample string 6</d2p1:FK_Duty>
      <d2p1:Idx>sample string 12</d2p1:Idx>
      <d2p1:Leader>sample string 7</d2p1:Leader>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:No>sample string 1</d2p1:No>
      <d2p1:NumOfDept>sample string 11</d2p1:NumOfDept>
      <d2p1:Pass>sample string 4</d2p1:Pass>
      <d2p1:Phone>sample string 13</d2p1:Phone>
      <d2p1:SID>sample string 8</d2p1:SID>
      <d2p1:email>sample string 10</d2p1:email>
      <d2p1:tel>sample string 9</d2p1:tel>
    </d2p1:portempDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfportempDTOpv1JTFkd>