查询租户所在的行业(API名称:findTenantIndustry)
功能介绍
查询租户所在的行业,用于生成行业下拉框 。
相关接口
接口名称 |
调用说明 |
---|---|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
---|---|---|---|
POST |
https://isdp+域名/openapi/v1/intelligentGroup/findTenantIndustry |
OpenAPI |
application/json |
请求头
KEY |
VALUE |
是否必填 |
描述 |
---|---|---|---|
Content-Type |
application/json |
是 |
无 |
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
参数 |
类型 |
是否必填 |
描述 |
---|---|---|---|
空对象 |
- |
- |
- |
响应参数
参数 |
类型 |
描述 |
---|---|---|
objectGroupId |
Long |
智能对象分组ID |
objectGroupName |
String |
智能对象分组名称(中文) |
objectGroupNameEnUs |
String |
智能对象分组名称(英文) |
groupPath |
String |
路径 |
level |
Integer |
等级 |
sort |
Integer |
排序权重 |
请求示例
{}
响应示例
{ "status": "success", "msg": null, "data": [ { "appName": "basedata-server", "createdBy": 1, "creationDate": "2021-01-16T03:16:54.000+00:00", "deleteFlag": 0, "entityName": "indelligentGroup", "groupPath": null, "lastUpdateDate": "2021-01-16T03:16:54.000+00:00", "lastUpdatedBy": 1, "level": 1, "objectGroupId": 1, "objectGroupName": "通用", "objectGroupNameEnUs": "Universals", "sort": 1, "tenantId": 1 }, { "appName": null, "createdBy": -1, "creationDate": "2021-02-27T08:24:52.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2021-02-27T08:24:52.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 50313, "objectGroupName": "电力行业", "objectGroupNameEnUs": "ElectricPower", "sort": 2 }, { "appName": null, "createdBy": -1, "creationDate": "2023-02-09T03:44:17.000+00:00", "deleteFlag": 0, "entityName": "intelligentGroup", "groupPath": null, "lastUpdateDate": "2023-02-09T03:44:17.000+00:00", "lastUpdatedBy": -1, "level": 1, "objectGroupId": 51568, "objectGroupName": "个体消费者", "objectGroupNameEnUs": null, "sort": 3 } ], "success": true, "failed": false }