GET api/ORG_StaffPosAssign/PageList?PageNum={PageNum}&NumPerPage={NumPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

IViewPageListOfORG_StaffPosAssignDTO
NameDescriptionTypeAdditional information
data

Collection of ORG_StaffPosAssignDTO

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,
      "StaffID": 2,
      "PositionID": 3,
      "CreatedBy": 4,
      "CreatedOn": "2019-04-23T00:21:13.7461113+08:00"
    },
    {
      "Id": 1,
      "StaffID": 2,
      "PositionID": 3,
      "CreatedBy": 4,
      "CreatedOn": "2019-04-23T00:21:13.7461113+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:
<IViewPageListOfORG_StaffPosAssignDTOpv1JTFkd 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:ORG_StaffPosAssignDTO>
      <d2p1:CreatedBy>4</d2p1:CreatedBy>
      <d2p1:CreatedOn>2019-04-23T00:21:13.7461113+08:00</d2p1:CreatedOn>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PositionID>3</d2p1:PositionID>
      <d2p1:StaffID>2</d2p1:StaffID>
    </d2p1:ORG_StaffPosAssignDTO>
    <d2p1:ORG_StaffPosAssignDTO>
      <d2p1:CreatedBy>4</d2p1:CreatedBy>
      <d2p1:CreatedOn>2019-04-23T00:21:13.7461113+08:00</d2p1:CreatedOn>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PositionID>3</d2p1:PositionID>
      <d2p1:StaffID>2</d2p1:StaffID>
    </d2p1:ORG_StaffPosAssignDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfORG_StaffPosAssignDTOpv1JTFkd>