文档
测试

根据机构父级ID获取组织机构接口

POST
http://192.168.100.125/apin/bs/cmscontent/getSysOrgByParentId

请求参数

参数名
类型
描述
必填
parentId
string
父级机构id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
result
array
数据列表
必填
id
string
示例:机构ID
必填
orgName
string
示例:机构名称
必填
orgCode
string
示例:机构代码
必填
orgInfo
string
示例:机构信息
必填
orgCreditCode
string
示例:统一社会信用代码
必填
orgAreaCode
string
示例:区域代码
必填
orgType
string
示例:area
必填
orgLogo
string
示例:
必填
orgLogoUrl
string
示例:
必填
orgResourceTable
string
示例:
必填
orgOrder
object
示例:null
必填
parentId
string
示例:-1
必填
rootId
string
示例:
必填
status
string
示例:
必填
createTime
string
示例:
必填
updateTime
string
示例:
必填
isShow
string
示例:
必填
delStatus
string
示例:0
必填
affiliation
string
示例:其他部分事业单位
必填
isProperty
int
示例:1
必填
isAuth
string
示例:0
必填
optType
object
示例:null
必填

说明 / 示例

请求示例:{"parentId":"-1"} 响应报文:{ "code": 1, "result": [ { "id": "机构ID", "orgName": "机构名称", "orgCode": "机构代码", "orgInfo": "机构信息", "orgCreditCode": "统一社会信用代码", "orgAreaCode": "区域代码", "orgType": "area", "orgLogo": "", "orgLogoUrl": "", "orgResourceTable": "", "orgOrder": null, "parentId": "-1", "rootId": "", "status": "", "createTime": "", "updateTime": "", "isShow": "", "delStatus": "0", "affiliation": "其他部分事业单位", "isProperty": 1, "isAuth": "0", "optType": null } ] }