POST api/OrgPosition/PageList

获取XX列表

Request Information

URI Parameters

None.

Body Parameters

OrgPositionWhereDOM
NameDescriptionTypeAdditional information
PositionName

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PositionName": "sample string 1",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

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

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

Response Information

Resource Description

获取XX列表

IViewPageListOfOrgPositionDTO
NameDescriptionTypeAdditional information
data

Collection of OrgPositionDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "PositionID": 1,
      "PositionCode": "sample string 2",
      "PositionName": "sample string 3",
      "PositionRemark": "sample string 4",
      "SysCode": "sample string 5",
      "IsObsoleted": true,
      "CreatedBy": 7,
      "CreatedOn": "2018-12-12T03:09:16.9033654+08:00",
      "PostionType": 9
    },
    {
      "PositionID": 1,
      "PositionCode": "sample string 2",
      "PositionName": "sample string 3",
      "PositionRemark": "sample string 4",
      "SysCode": "sample string 5",
      "IsObsoleted": true,
      "CreatedBy": 7,
      "CreatedOn": "2018-12-12T03:09:16.9033654+08:00",
      "PostionType": 9
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfOrgPositionDTOpv1JTFkd 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:OrgPositionDTO>
      <d2p1:CreatedBy>7</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-12T03:09:16.9033654+08:00</d2p1:CreatedOn>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:PositionCode>sample string 2</d2p1:PositionCode>
      <d2p1:PositionID>1</d2p1:PositionID>
      <d2p1:PositionName>sample string 3</d2p1:PositionName>
      <d2p1:PositionRemark>sample string 4</d2p1:PositionRemark>
      <d2p1:PostionType>9</d2p1:PostionType>
      <d2p1:SysCode>sample string 5</d2p1:SysCode>
    </d2p1:OrgPositionDTO>
    <d2p1:OrgPositionDTO>
      <d2p1:CreatedBy>7</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-12T03:09:16.9033654+08:00</d2p1:CreatedOn>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:PositionCode>sample string 2</d2p1:PositionCode>
      <d2p1:PositionID>1</d2p1:PositionID>
      <d2p1:PositionName>sample string 3</d2p1:PositionName>
      <d2p1:PositionRemark>sample string 4</d2p1:PositionRemark>
      <d2p1:PostionType>9</d2p1:PostionType>
      <d2p1:SysCode>sample string 5</d2p1:SysCode>
    </d2p1:OrgPositionDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfOrgPositionDTOpv1JTFkd>