菜单

存储仓添加设备

下载

接口地址:/webapi/device/create

请求方式:PUT

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

响应数据类型:*/*

接口描述:

新建设备

请求示例:

javascript 复制代码
{
  "deviceTypeId": 0,
  "clientId": 0,
  "fullPath": "",
  "repositoryId": 0,
  "requestId": ""
}

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
  deviceTypeId 设备类型Id body false integer(int32)
  clientId 客户端Id body false integer(int64)
  fullPath 全路径 body false string
  repositoryId 存储仓Id body false integer(int64)
  requestId 请求Id body false string

响应状态:

状态码 说明 schema
200 OK ResponseResultResultVo

响应参数:

参数名称 参数说明 类型 schema
message 返回状态标记 string
statFlag 返回状态 integer(int32) integer(int32)
dataInfo ResultVo ResultVo
  errorCode 错误码 integer(int32)
  message 响应信息 string
dataCount 返回数据条数 integer(int32) integer(int32)

响应示例:

javascript 复制代码
{
	"message": "操作成功",
	"statFlag": 0,
	"dataInfo": {
		"errorCode": 0,
		"message": ""
	},
	"dataCount": 10
}
分享文章
上一个
修改存储仓基本信息
下一个
修改设备基本信息
最近修改: 2024-12-13