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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

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.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Id": 1,
      "StaffID": 2,
      "PositionID": 3,
      "CreatedBy": 4,
      "CreatedOn": "2018-12-12T02:13:25.6533535+08:00"
    },
    {
      "Id": 1,
      "StaffID": 2,
      "PositionID": 3,
      "CreatedBy": 4,
      "CreatedOn": "2018-12-12T02:13:25.6533535+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfORG_StaffPosAssignDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ORG_StaffPosAssignDTO>
      <d2p1:CreatedBy>4</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-12T02:13:25.6533535+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>2018-12-12T02:13:25.6533535+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>