获取所有终端分组列表
GET
/eims/api/v2/user/device-asset-groups/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/eims/api/v2/user/device-asset-groups/list'
返回响应
🟢200成功
application/json
Body
DepartmentTreeView
array of:
id
string | null
主键字段
name
string | null
分组名称
companyId
string | null
企业id
parentId
string
可选
createTime
string | null
创建时间
示例
[
{
"id": 0,
"name": "",
"companyId": {
"mostSigBits": 0,
"leastSigBits": 0
},
"parentId": 0,
"createTime": "",
"updateTime": "",
"visibleTargets": [
{
"id": "",
"type": 0,
"order": 0,
"name": ""
}
],
"fullPath": ""
}
]