文档首页> ISDP> API参考> API接口> 基础数据管理> 智能对象管理> 根据父级ID查询所有对象信息(API名称:findListByParentId)
更新时间:2024-01-18 GMT+08:00
分享

根据父级ID查询所有对象信息(API名称:findListByParentId)

功能介绍

根据父级ID查询所有对象信息 。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/intelligentGroup/findListByParentId

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

parentId

Long

不传值时,仅会查出无父ID的,限制200条记录

响应参数

参数

类型

描述

objectGroupId

Long

智能对象分组ID

objectGroupName

String

智能对象分组名称(中文)

objectGroupNameEnUs

String

智能对象分组名称(英文)

groupPath

String

路径

level

Integer

等级

sort

Integer

排序权重

parentId

Long

智能对象分组父级ID

请求示例

{
    "parentId": 50313
}

响应示例

{
    "status": "success",
    "msg": null,
    "data": [
        {
            "appName": "basedata-server",
            "createdBy": 1,
            "creationDate": "2021-01-16T03:16:54.000+00:00",
            "deleteFlag": 0,
            "entityName": "indelligentGroup",
            "groupPath": "50313",
            "lastUpdateDate": "2021-01-16T03:16:54.000+00:00",
            "lastUpdatedBy": 1,
            "level": 2,
            "objectGroupId": -2021102712,
            "objectGroupName": "配网带电作业",
            "objectGroupNameEnUs": "Network distribution live-line work",
            "parentId": 50313,
            "sort": 1,
            "tenantId": 1
        },
        {
            "appName": null,
            "createdBy": -1,
            "creationDate": "2021-02-27T08:32:43.000+00:00",
            "deleteFlag": 0,
            "entityName": "intelligentGroup",
            "groupPath": "50313",
            "lastUpdateDate": "2021-02-27T08:32:43.000+00:00",
            "lastUpdatedBy": -1,
            "level": 2,
            "objectGroupId": 50315,
            "objectGroupName": "营销作业",
            "objectGroupNameEnUs": "Marketing operation",
            "parentId": 50313,
            "sort": 2
        }
    ],
    "success": true,
    "failed": false
}
分享:

    相关文档

    相关产品