GET api/OrgOrganization/GetOrgInfoByParentCode?OrgCode={OrgCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrgCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrgOrganizationDTO
NameDescriptionTypeAdditional information
Id

ID

integer

None.

OrgCode

机构代码

string

String length: inclusive between 0 and 64

Pid

Pid

string

String length: inclusive between 0 and 2000

OrgName

机构名称

string

String length: inclusive between 0 and 128

OrgType

机构类型

string

String length: inclusive between 0 and 128

OrgAddress

机构地址

string

String length: inclusive between 0 and 150

NodeCode

节点代码

string

String length: inclusive between 0 and 64

NodeName

节点名称

string

String length: inclusive between 0 and 64

ParentCode

机构父代码

string

String length: inclusive between 0 and 64

IsObsoleted

是否逻辑删除

boolean

None.

CreatedBy

创建者ID

integer

None.

CreatedOn

创建时间

date

None.

SysCode

系统代码

string

String length: inclusive between 0 and 20

FullPathName

全路径名称

string

String length: inclusive between 0 and 2000

FullPathCode

全路径代码

string

String length: inclusive between 0 and 2000

OrgBusCode

机构代码

string

String length: inclusive between 0 and 10

OrgCodeOrgLev1

一级分行代码

string

String length: inclusive between 0 and 64

OrgCodeDept

部门代码

string

String length: inclusive between 0 and 64

OrgCodeRoom

科室代码

string

String length: inclusive between 0 and 64

OrderNum

排序

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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-15T10:41:13.0595916+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-15T10:41:13.0595916+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
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrgOrganizationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <OrgOrganizationDTO>
    <CreatedBy>11</CreatedBy>
    <CreatedOn>2018-12-15T10:41:13.0595916+08:00</CreatedOn>
    <FullPathCode>sample string 15</FullPathCode>
    <FullPathName>sample string 14</FullPathName>
    <Id>1</Id>
    <IsObsoleted>true</IsObsoleted>
    <NodeCode>sample string 7</NodeCode>
    <NodeName>sample string 8</NodeName>
    <OrderNum>20</OrderNum>
    <OrgAddress>sample string 6</OrgAddress>
    <OrgBusCode>sample string 16</OrgBusCode>
    <OrgCode>sample string 2</OrgCode>
    <OrgCodeDept>sample string 18</OrgCodeDept>
    <OrgCodeOrgLev1>sample string 17</OrgCodeOrgLev1>
    <OrgCodeRoom>sample string 19</OrgCodeRoom>
    <OrgName>sample string 4</OrgName>
    <OrgType>sample string 5</OrgType>
    <ParentCode>sample string 9</ParentCode>
    <Pid>sample string 3</Pid>
    <SysCode>sample string 13</SysCode>
  </OrgOrganizationDTO>
  <OrgOrganizationDTO>
    <CreatedBy>11</CreatedBy>
    <CreatedOn>2018-12-15T10:41:13.0595916+08:00</CreatedOn>
    <FullPathCode>sample string 15</FullPathCode>
    <FullPathName>sample string 14</FullPathName>
    <Id>1</Id>
    <IsObsoleted>true</IsObsoleted>
    <NodeCode>sample string 7</NodeCode>
    <NodeName>sample string 8</NodeName>
    <OrderNum>20</OrderNum>
    <OrgAddress>sample string 6</OrgAddress>
    <OrgBusCode>sample string 16</OrgBusCode>
    <OrgCode>sample string 2</OrgCode>
    <OrgCodeDept>sample string 18</OrgCodeDept>
    <OrgCodeOrgLev1>sample string 17</OrgCodeOrgLev1>
    <OrgCodeRoom>sample string 19</OrgCodeRoom>
    <OrgName>sample string 4</OrgName>
    <OrgType>sample string 5</OrgType>
    <ParentCode>sample string 9</ParentCode>
    <Pid>sample string 3</Pid>
    <SysCode>sample string 13</SysCode>
  </OrgOrganizationDTO>
</ArrayOfOrgOrganizationDTO>