ThingsKit物联网平台API文档-可视化(组态)

新增组态

接口地址:/api/yt/configuration/center

请求方式:POST

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "createTime": "",
  "creator": "",
  "defaultConfig": "",
  "defaultContent": "",
  "description": "",
  "enabled": false,
  "icon": "",
  "id": "",
  "name": "",
  "organizationId": "",
  "platform": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
configurationCenterDTOConfigurationCenterDTObodytrueConfigurationCenterDTO
createTime创建时间falsestring(date-time)
creator创建用户falsestring
defaultConfig租户默认配置falsestring
defaultContent默认内容falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name组态名称truestring
organizationDTO组织信息falseOrganizationDTO
children子集falsearray
createTime创建时间falsestring
creator创建用户falsestring
defaultConfig租户默认配置falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name组织名称falsestring
parentId组织父IDfalsestring
remark备注falsestring
roleIds租户角色列表falsearray
sort排序falseinteger
tenantExpireTime租户到期时间falsestring
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
updateTime更新时间falsestring
updater更新用户falsestring
organizationId组织IDtruestring
platform终端类型truestring
remark组态描述falsestring
roleIds租户角色列表falsearray
tenantExpireTime租户到期时间falsestring(date-time)
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
thumbnail组态缩略图falsestring
updateTime更新时间falsestring(date-time)
updater更新用户falsestring

响应参数:

参数名称参数说明类型
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
defaultContent默认内容string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组态名称string
organizationDTO组织信息OrganizationDTO
children子集array
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组织名称string
parentId组织父IDstring
remark备注string
roleIds租户角色列表array
sort排序integer(int32)
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string(date-time)
updater更新用户string
organizationId组织IDstring
platform终端类型string
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
thumbnail组态缩略图string
updateTime更新时间string(date-time)
updater更新用户string

响应示例:

{
	"createTime": "",
	"creator": "",
	"defaultConfig": "",
	"defaultContent": "",
	"description": "",
	"enabled": false,
	"icon": "",
	"id": "",
	"name": "",
	"organizationDTO": {
		"children": [
			{
				"children": [
					{}
				],
				"createTime": "",
				"creator": "",
				"defaultConfig": "",
				"description": "",
				"enabled": false,
				"icon": "",
				"id": "",
				"name": "",
				"parentId": "",
				"remark": "",
				"roleIds": [],
				"sort": 0,
				"tenantExpireTime": "",
				"tenantId": "",
				"tenantProfileId": "",
				"tenantStatus": "",
				"updateTime": "",
				"updater": ""
			}
		],
		"createTime": "",
		"creator": "",
		"defaultConfig": "",
		"description": "",
		"enabled": false,
		"icon": "",
		"id": "",
		"name": "",
		"parentId": "",
		"remark": "",
		"roleIds": [],
		"sort": 0,
		"tenantExpireTime": "",
		"tenantId": "",
		"tenantProfileId": "",
		"tenantStatus": "",
		"updateTime": "",
		"updater": ""
	},
	"organizationId": "",
	"platform": "",
	"remark": "",
	"roleIds": [],
	"tenantExpireTime": "",
	"tenantId": "",
	"tenantProfileId": "",
	"tenantStatus": "",
	"thumbnail": "",
	"updateTime": "",
	"updater": ""
}

修改组态

接口地址:/api/yt/configuration/center

请求方式:PUT

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "createTime": "",
  "creator": "",
  "defaultConfig": "",
  "defaultContent": "",
  "description": "",
  "enabled": false,
  "icon": "",
  "id": "",
  "name": "",
  "organizationId": "",
  "platform": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
configurationCenterDTOConfigurationCenterDTObodytrueConfigurationCenterDTO
createTime创建时间falsestring(date-time)
creator创建用户falsestring
defaultConfig租户默认配置falsestring
defaultContent默认内容falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name组态名称truestring
organizationDTO组织信息falseOrganizationDTO
children子集falsearray
createTime创建时间falsestring
creator创建用户falsestring
defaultConfig租户默认配置falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name组织名称falsestring
parentId组织父IDfalsestring
remark备注falsestring
roleIds租户角色列表falsearray
sort排序falseinteger
tenantExpireTime租户到期时间falsestring
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
updateTime更新时间falsestring
updater更新用户falsestring
organizationId组织IDtruestring
platform终端类型truestring
remark组态描述falsestring
roleIds租户角色列表falsearray
tenantExpireTime租户到期时间falsestring(date-time)
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
thumbnail组态缩略图falsestring
updateTime更新时间falsestring(date-time)
updater更新用户falsestring

响应参数:

参数名称参数说明类型
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
defaultContent默认内容string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组态名称string
organizationDTO组织信息OrganizationDTO
children子集array
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组织名称string
parentId组织父IDstring
remark备注string
roleIds租户角色列表array
sort排序integer(int32)
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string(date-time)
updater更新用户string
organizationId组织IDstring
platform终端类型string
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
thumbnail组态缩略图string
updateTime更新时间string(date-time)
updater更新用户string

响应示例:

{
	"createTime": "",
	"creator": "",
	"defaultConfig": "",
	"defaultContent": "",
	"description": "",
	"enabled": false,
	"icon": "",
	"id": "",
	"name": "",
	"organizationDTO": {
		"children": [
			{
				"children": [
					{}
				],
				"createTime": "",
				"creator": "",
				"defaultConfig": "",
				"description": "",
				"enabled": false,
				"icon": "",
				"id": "",
				"name": "",
				"parentId": "",
				"remark": "",
				"roleIds": [],
				"sort": 0,
				"tenantExpireTime": "",
				"tenantId": "",
				"tenantProfileId": "",
				"tenantStatus": "",
				"updateTime": "",
				"updater": ""
			}
		],
		"createTime": "",
		"creator": "",
		"defaultConfig": "",
		"description": "",
		"enabled": false,
		"icon": "",
		"id": "",
		"name": "",
		"parentId": "",
		"remark": "",
		"roleIds": [],
		"sort": 0,
		"tenantExpireTime": "",
		"tenantId": "",
		"tenantProfileId": "",
		"tenantStatus": "",
		"updateTime": "",
		"updater": ""
	},
	"organizationId": "",
	"platform": "",
	"remark": "",
	"roleIds": [],
	"tenantExpireTime": "",
	"tenantId": "",
	"tenantProfileId": "",
	"tenantStatus": "",
	"thumbnail": "",
	"updateTime": "",
	"updater": ""
}

删除组态

接口地址:/api/yt/configuration/center

请求方式:DELETE

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "ids": [],
  "tenantId": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
deleteDTODeleteDTObodytrueDeleteDTO
ids删除ID列表truearray
tenantId租户IDfalsestring

获取组态信息

接口地址:/api/yt/configuration/center/get_configuration_info/{id}

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

请求参数:

参数名称参数说明请求类型是否必须数据类型
ididpathtruestring

响应参数:

参数名称参数说明类型
configurationContentList组态内容array
configurationId组织中心IDstring
content页面内容string
contentId页面内容IDstring
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name页面名称string
nodeIds节点列表array
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
type类型:0手机 1PCinteger(int32)
updateTime更新时间string(date-time)
updater更新用户string
configurationId组态中心IDstring
configurationName组态中心名称string
platform终端类型string

响应示例:

{
	"configurationContentList": [
		{
			"configurationId": "",
			"content": "",
			"contentId": "",
			"createTime": "",
			"creator": "",
			"defaultConfig": "",
			"description": "",
			"enabled": false,
			"icon": "",
			"id": "",
			"name": "",
			"nodeIds": [],
			"remark": "",
			"roleIds": [],
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"type": 0,
			"updateTime": "",
			"updater": ""
		}
	],
	"configurationId": "",
	"configurationName": "",
	"platform": ""
}

组态分页

接口地址:/api/yt/configuration/center{?name,orderFiled,orderType,organizationId,page,pageSize,platform}

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

请求参数:

参数名称参数说明是否必须数据类型
pagepagetrueint
pageSizepageSizetrueint
namenamefalsestring
platformplatformfalsestring
organizationIdorganizationIdfalsestring
orderFiledorderFiledfalsestring
orderTypeorderType,可用值:ASC,DESCfalsestring

响应参数:

参数名称参数说明类型
itemsarray
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
defaultContent默认内容string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组态名称string
organizationDTO组织信息OrganizationDTO
children子集array
createTime创建时间string
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name组织名称string
parentId组织父IDstring
remark备注string
roleIds租户角色列表array
sort排序integer
tenantExpireTime租户到期时间string
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
updateTime更新时间string
updater更新用户string
organizationId组织IDstring
platform终端类型string
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
thumbnail组态缩略图string
updateTime更新时间string(date-time)
updater更新用户string
totalinteger(int32)

响应示例:

{
	"items": [
		{
			"createTime": "",
			"creator": "",
			"defaultConfig": "",
			"defaultContent": "",
			"description": "",
			"enabled": false,
			"icon": "",
			"id": "",
			"name": "",
			"organizationDTO": {
				"children": [
					{
						"children": [
							{}
						],
						"createTime": "",
						"creator": "",
						"defaultConfig": "",
						"description": "",
						"enabled": false,
						"icon": "",
						"id": "",
						"name": "",
						"parentId": "",
						"remark": "",
						"roleIds": [],
						"sort": 0,
						"tenantExpireTime": "",
						"tenantId": "",
						"tenantProfileId": "",
						"tenantStatus": "",
						"updateTime": "",
						"updater": ""
					}
				],
				"createTime": "",
				"creator": "",
				"defaultConfig": "",
				"description": "",
				"enabled": false,
				"icon": "",
				"id": "",
				"name": "",
				"parentId": "",
				"remark": "",
				"roleIds": [],
				"sort": 0,
				"tenantExpireTime": "",
				"tenantId": "",
				"tenantProfileId": "",
				"tenantStatus": "",
				"updateTime": "",
				"updater": ""
			},
			"organizationId": "",
			"platform": "",
			"remark": "",
			"roleIds": [],
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"thumbnail": "",
			"updateTime": "",
			"updater": ""
		}
	],
	"total": 0
}

组态内容新增

接口地址:/api/yt/configuration/content

请求方式:POST

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "configurationId": "",
  "content": "",
  "contentId": "",
  "createTime": "",
  "creator": "",
  "defaultConfig": "",
  "description": "",
  "enabled": false,
  "icon": "",
  "id": "",
  "name": "",
  "type": 0
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
configurationContentDTOConfigurationContentDTObodytrueConfigurationContentDTO
configurationId组织中心IDtruestring
content页面内容falsestring
contentId页面内容IDtruestring
createTime创建时间falsestring(date-time)
creator创建用户falsestring
defaultConfig租户默认配置falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name页面名称truestring
nodeIds节点列表falsearray
remark组态描述falsestring
roleIds租户角色列表falsearray
tenantExpireTime租户到期时间falsestring(date-time)
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
type类型:0手机 1PCtrueinteger(int32)
updateTime更新时间falsestring(date-time)
updater更新用户falsestring

响应参数:

参数名称参数说明类型
configurationId组织中心IDstring
content页面内容string
contentId页面内容IDstring
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name页面名称string
nodeIds节点列表array
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
type类型:0手机 1PCinteger(int32)
updateTime更新时间string(date-time)
updater更新用户string

响应示例:

{
	"configurationId": "",
	"content": "",
	"contentId": "",
	"createTime": "",
	"creator": "",
	"defaultConfig": "",
	"description": "",
	"enabled": false,
	"icon": "",
	"id": "",
	"name": "",
	"nodeIds": [],
	"remark": "",
	"roleIds": [],
	"tenantExpireTime": "",
	"tenantId": "",
	"tenantProfileId": "",
	"tenantStatus": "",
	"type": 0,
	"updateTime": "",
	"updater": ""
}

修改

接口地址:/api/yt/configuration/content

请求方式:PUT

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "configurationContentList": [
    {
      "configurationId": "",
      "content": "",
      "contentId": "",
      "createTime": "",
      "creator": "",
      "defaultConfig": "",
      "description": "",
      "enabled": false,
      "icon": "",
      "id": "",
      "name": "",
      "type": 0,
      "updateTime": "",
      "updater": ""
    }
  ],
  "configurationId": "",
  "platform": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
组态编辑组态编辑bodytrue组态编辑
configurationContentList组态内容truearray
configurationId组织中心IDtruestring
content页面内容falsestring
contentId页面内容IDtruestring
createTime创建时间falsestring
creator创建用户falsestring
defaultConfig租户默认配置falsestring
description租户描述falsestring
enabled租户状态:启用/禁用falseboolean
icon租户图标falsestring
idIDfalsestring
name页面名称truestring
nodeIds节点列表falsearray
remark组态描述falsestring
roleIds租户角色列表falsearray
tenantExpireTime租户到期时间falsestring
tenantId租户IDfalsestring
tenantProfileId租户配置falsestring
tenantStatus可用值:DISABLED,EXPIRED,NORMALfalsestring
type类型:0手机 1PCtrueinteger
updateTime更新时间falsestring
updater更新用户falsestring
configurationId组态中心IDtruestring
configurationName组态中心名称falsestring
platform终端类型truestring

响应参数:

参数名称参数说明类型
configurationContentList组态内容array
configurationId组织中心IDstring
content页面内容string
contentId页面内容IDstring
createTime创建时间string(date-time)
creator创建用户string
defaultConfig租户默认配置string
description租户描述string
enabled租户状态:启用/禁用boolean
icon租户图标string
idIDstring
name页面名称string
nodeIds节点列表array
remark组态描述string
roleIds租户角色列表array
tenantExpireTime租户到期时间string(date-time)
tenantId租户IDstring
tenantProfileId租户配置string
tenantStatus可用值:DISABLED,EXPIRED,NORMALstring
type类型:0手机 1PCinteger(int32)
updateTime更新时间string(date-time)
updater更新用户string
configurationId组态中心IDstring
configurationName组态中心名称string
platform终端类型string

响应示例:

{
	"configurationContentList": [
		{
			"configurationId": "",
			"content": "",
			"contentId": "",
			"createTime": "",
			"creator": "",
			"defaultConfig": "",
			"description": "",
			"enabled": false,
			"icon": "",
			"id": "",
			"name": "",
			"nodeIds": [],
			"remark": "",
			"roleIds": [],
			"tenantExpireTime": "",
			"tenantId": "",
			"tenantProfileId": "",
			"tenantStatus": "",
			"type": 0,
			"updateTime": "",
			"updater": ""
		}
	],
	"configurationId": "",
	"configurationName": "",
	"platform": ""
}

删除

接口地址:/api/yt/configuration/content

请求方式:DELETE

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

请求示例:

{
  "ids": [],
  "tenantId": ""
}

请求参数:

参数名称参数说明请求类型是否必须数据类型
deleteDTODeleteDTObodytrueDeleteDTO
ids删除ID列表truearray
tenantId租户IDfalsestring