组织信息
接口地址
SERVICE-ADDRESS/organization/orgTree
方法:get
参数说明
参数 |
类型 |
是否必须 |
说明 |
appid |
string |
是 |
唯一凭证 |
sign |
string |
是 |
签名 |
tenantId |
long |
是 |
租户ID |
返回数据示例
{
"success":true,
"code":null,
"message":null,
"data":{
"id":246798218985984,
"name":"劳务产品430测试租户",
"status":null,
"type":"company",
"sort":-1,
"realId":null,
"projectId":null,
"projectStatus":null,
"fullId":"246798218985984",
"fullName":"劳务产品430测试租户",
"childNodes":[
],
"canSelect":false,
"project":false,
"inheritPermission":false,
"productType":null
}
}
返回字段说明
字段 |
字段名称 |
字段格式 |
备注 |
id |
ID |
long |
|
fullId |
fullId |
String |
|
name |
名称 |
string |
|
type |
类型 |
string |
Company:公司 general-department:子公司 general-project:项目 project-command:局指节点 |
status |
状态 |
Int |
节点公司时为null 项目时 0: 正常 |
shortName |
简称 |
string |
|
short |
排序字段 |
Int |
从小到大顺序排列 |
project |
是否是项目 |
Boolean |
|
projectId |
项目ID |
long |
|
childNodes |
子节点 |
|
子节点字段与父节点结构一致 |