GET api/OrgOrganization/PageList

获取组织机构列表

Request Information

URI Parameters

None.

Body Parameters

OrgOrganizationWhereDOM
NameDescriptionTypeAdditional information
OrgName

机构名称

string

None.

OrgType

机构类型

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrgName": "sample string 1",
  "OrgType": "sample string 2",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

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

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

Response Information

Resource Description

获取组织机构列表

IViewPageListOfOrgOrganizationDTO
NameDescriptionTypeAdditional information
data

Collection of OrgOrganizationDTO

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,
      "OrgCode": "sample string 2",
      "Pid": "sample string 3",
      "OrgName": "sample string 4",
      "OrgType": "sample string 5",
      "OrgAddress": "sample string 6",
      "NodeCode": "sample string 7",
      "NodeName": "sample string 8",
      "ParentCode": "sample string 9",
      "IsObsoleted": true,
      "CreatedBy": 11,
      "CreatedOn": "2018-12-12T02:03:16.9971018+08:00",
      "SysCode": "sample string 13",
      "FullPathName": "sample string 14",
      "FullPathCode": "sample string 15",
      "OrgBusCode": "sample string 16",
      "OrgCodeOrgLev1": "sample string 17",
      "OrgCodeDept": "sample string 18",
      "OrgCodeRoom": "sample string 19",
      "OrderNum": 20
    },
    {
      "Id": 1,
      "OrgCode": "sample string 2",
      "Pid": "sample string 3",
      "OrgName": "sample string 4",
      "OrgType": "sample string 5",
      "OrgAddress": "sample string 6",
      "NodeCode": "sample string 7",
      "NodeName": "sample string 8",
      "ParentCode": "sample string 9",
      "IsObsoleted": true,
      "CreatedBy": 11,
      "CreatedOn": "2018-12-12T02:03:16.9971018+08:00",
      "SysCode": "sample string 13",
      "FullPathName": "sample string 14",
      "FullPathCode": "sample string 15",
      "OrgBusCode": "sample string 16",
      "OrgCodeOrgLev1": "sample string 17",
      "OrgCodeDept": "sample string 18",
      "OrgCodeRoom": "sample string 19",
      "OrderNum": 20
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfOrgOrganizationDTOpv1JTFkd 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:OrgOrganizationDTO>
      <d2p1:CreatedBy>11</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-12T02:03:16.9971018+08:00</d2p1:CreatedOn>
      <d2p1:FullPathCode>sample string 15</d2p1:FullPathCode>
      <d2p1:FullPathName>sample string 14</d2p1:FullPathName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:NodeCode>sample string 7</d2p1:NodeCode>
      <d2p1:NodeName>sample string 8</d2p1:NodeName>
      <d2p1:OrderNum>20</d2p1:OrderNum>
      <d2p1:OrgAddress>sample string 6</d2p1:OrgAddress>
      <d2p1:OrgBusCode>sample string 16</d2p1:OrgBusCode>
      <d2p1:OrgCode>sample string 2</d2p1:OrgCode>
      <d2p1:OrgCodeDept>sample string 18</d2p1:OrgCodeDept>
      <d2p1:OrgCodeOrgLev1>sample string 17</d2p1:OrgCodeOrgLev1>
      <d2p1:OrgCodeRoom>sample string 19</d2p1:OrgCodeRoom>
      <d2p1:OrgName>sample string 4</d2p1:OrgName>
      <d2p1:OrgType>sample string 5</d2p1:OrgType>
      <d2p1:ParentCode>sample string 9</d2p1:ParentCode>
      <d2p1:Pid>sample string 3</d2p1:Pid>
      <d2p1:SysCode>sample string 13</d2p1:SysCode>
    </d2p1:OrgOrganizationDTO>
    <d2p1:OrgOrganizationDTO>
      <d2p1:CreatedBy>11</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-12T02:03:16.9971018+08:00</d2p1:CreatedOn>
      <d2p1:FullPathCode>sample string 15</d2p1:FullPathCode>
      <d2p1:FullPathName>sample string 14</d2p1:FullPathName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:NodeCode>sample string 7</d2p1:NodeCode>
      <d2p1:NodeName>sample string 8</d2p1:NodeName>
      <d2p1:OrderNum>20</d2p1:OrderNum>
      <d2p1:OrgAddress>sample string 6</d2p1:OrgAddress>
      <d2p1:OrgBusCode>sample string 16</d2p1:OrgBusCode>
      <d2p1:OrgCode>sample string 2</d2p1:OrgCode>
      <d2p1:OrgCodeDept>sample string 18</d2p1:OrgCodeDept>
      <d2p1:OrgCodeOrgLev1>sample string 17</d2p1:OrgCodeOrgLev1>
      <d2p1:OrgCodeRoom>sample string 19</d2p1:OrgCodeRoom>
      <d2p1:OrgName>sample string 4</d2p1:OrgName>
      <d2p1:OrgType>sample string 5</d2p1:OrgType>
      <d2p1:ParentCode>sample string 9</d2p1:ParentCode>
      <d2p1:Pid>sample string 3</d2p1:Pid>
      <d2p1:SysCode>sample string 13</d2p1:SysCode>
    </d2p1:OrgOrganizationDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfOrgOrganizationDTOpv1JTFkd>