GET api/erpDept/GetPagedata

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
paramModal
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "pagination": {
    "total": 1,
    "pageSize": 2,
    "current": 3
  },
  "data": [
    {
      "deptId": "sample string 1",
      "deptNo": "sample string 2",
      "deptName": "sample string 3",
      "corpId": "sample string 4",
      "parentId": "sample string 5"
    },
    {
      "deptId": "sample string 1",
      "deptNo": "sample string 2",
      "deptName": "sample string 3",
      "corpId": "sample string 4",
      "parentId": "sample string 5"
    },
    {
      "deptId": "sample string 1",
      "deptNo": "sample string 2",
      "deptName": "sample string 3",
      "corpId": "sample string 4",
      "parentId": "sample string 5"
    }
  ],
  "errorCode": 1,
  "errorMsg": "sample string 2"
}

application/xml, text/xml

Sample:
<PageResultOferpDeptKNH_SmGkI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WfSoft.Core">
  <errorCode>1</errorCode>
  <errorMsg>sample string 2</errorMsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WfSoft.Model">
    <d2p1:erpDept>
      <d2p1:corpId>sample string 4</d2p1:corpId>
      <d2p1:deptId>sample string 1</d2p1:deptId>
      <d2p1:deptName>sample string 3</d2p1:deptName>
      <d2p1:deptNo>sample string 2</d2p1:deptNo>
      <d2p1:parentId>sample string 5</d2p1:parentId>
    </d2p1:erpDept>
    <d2p1:erpDept>
      <d2p1:corpId>sample string 4</d2p1:corpId>
      <d2p1:deptId>sample string 1</d2p1:deptId>
      <d2p1:deptName>sample string 3</d2p1:deptName>
      <d2p1:deptNo>sample string 2</d2p1:deptNo>
      <d2p1:parentId>sample string 5</d2p1:parentId>
    </d2p1:erpDept>
    <d2p1:erpDept>
      <d2p1:corpId>sample string 4</d2p1:corpId>
      <d2p1:deptId>sample string 1</d2p1:deptId>
      <d2p1:deptName>sample string 3</d2p1:deptName>
      <d2p1:deptNo>sample string 2</d2p1:deptNo>
      <d2p1:parentId>sample string 5</d2p1:parentId>
    </d2p1:erpDept>
  </data>
  <pagination>
    <current>3</current>
    <pageSize>2</pageSize>
    <total>1</total>
  </pagination>
</PageResultOferpDeptKNH_SmGkI>