查询虚拟组织列表
所有文档
menu

智能视联网平台 EVS

查询虚拟组织列表

产品详情立即开通

接口描述

本接口用于查询虚拟组织列表。

请求(Request)

请求URI

GET /v1/virtualOrgNode?pageNo={pageNo}&pageSize={pageSize}

参数名称 类型 是否必需 描述
pageNo Integer 分页查询标识第几页
pageSize Integer 分页查询标识每页多少条数据
gbId String 节点国标ID

请求头域

除公共头域外,无其它特殊头域。

请求体

无。

响应(Response)

响应头域

除公共头域外,无其它特殊头域。

响应体

参数名称 类型 描述
pageNo Integer 当前页数
pageSize Integer 当前页的大小
data Array 虚拟组织列表
+ nodeId Long 根节点ID
+ name String 根节点名称
+ gbId String 根节点国标ID
+ edgeId Long 空间接入节点ID
+ edgeName String 空间接入节点名称
+ spaceType String 空间类型
totalCount Integer 总个数

示例

请求示例

GET /v1/virtualOrgNode?pageNo=1&pageSize=2 HTTP/1.1
x-bce-date: 2020-03-25T09:28:13Z
host: evs.bj.baidubce.com
content-type: application/json
authorization: bce-auth-v1/e8e4a9ced6794355a9a1b8a20b58d37b/2020-03-25T09:28:13Z/1800/content-type;hostx-date/4a1692dc4bab84f5801f79ea0c1fece3601cf73ecd94409d2a94b3942b971715

响应示例

HTTP/1.1 200 OK
Transfer-Encoding: chunked
x-bce-request-id: 012b9747-f13a-4a2c-a488-02b221844dca
Cache-Control: no-cache
Server: BWS
Date: Tue, 24 Mar 202 013:34:07 GMT
Content-Type: application/json;charset=UTF-8

{
    "pageNo": 1,
    "pageSize": 2
    "data": [
        {
            "nodeId": 1000001,
            "name": "北京市海淀区公安分局",
            "gbId": "42060000492001000001",
            "parentNodeId": 1000000,
            "deviceId": 1000010,
            "edgeId": 1,
            "edgeId": "河北-保定-联通"
        },
        {
            "nodeId": 1000002,
            "name": "北京市昌平区公安分局",
            "gbId": "42060000492001000002",
            "parentNodeId": 1000001,
            "deviceId": 1000011,
            "edgeId": 1,
            "edgeId": "河北-保定-联通"
        }
    ],
    "totalCount": 5
}

错误码

参考公共错误码。

上一篇
删除虚拟组织节点
下一篇
国标平台