Skip to content

查询产品最新物模型(JSON格式)

接口地址:/v2/quectsl/openapi/product/export/tslFile

请求方式:GET

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

响应数据类型:*/*

接口描述:

获取物模型数据(JSON格式)

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
language语言:CN/EN(默认:CN)queryfalse
productId产品id,与productKey一一对应,作为唯一主键。如果传入该参数,则无需传productKey。如果productId和productKey同时传入,则以productId为准queryfalseinteger(int64)
productKeyproductKey,与productId一一对应,作为唯一主键。如果传入该参数,则无需传productId。如果productId和productKey同时传入,则以productId为准queryfalsestring

响应状态:

状态码说明schema
200OKActionResult
401Unauthorized
403Forbidden
404Not Found
50000service exception
50005param check error.
50006The productID or productKey is empty.
50007The deviceID, productKey or deviceKey is empty.
70000Hub 服务不可用
70017Product does not exist.
70063The device with transparent transmission mode does not support sending TSL model data.
70089You have limited permission to operate this project or product or device.
70097The TSL model of the selected product is empty.
71006TSL model data of current version is not found.
71009The target product belongs to a hardware solution that is different from original product.
71010The original prodct TSL data to be copied does not exist.
80005OpenAPI does not support setting AEP products.
91001token not exists
91004token incorrect
91005doesn't have permission
91006user not exist ip white list reference.
91007please open API permission.

响应参数:

参数名称参数说明类型schema
code返回码object
data对象object
exp1string
msg提示信息object
pageNum当前页数object
pageSize每页数量object
pages总页数object
total总数object

响应示例:

javascript
{
	"code": {},
	"data": {},
	"exp1": "",
	"msg": {},
	"pageNum": {},
	"pageSize": {},
	"pages": {},
	"total": {}
}