新增或更新设备组信息
测试环境
http://140.207.166.210:9030/gateway/torch
测试环境
http://140.207.166.210:9030/gateway/torch
POST
/group/save
请求参数
Authorization
在 header 添加参数
Authorization
示例:
Authorization: ********************
Body 参数application/json
id
integer
可选
companyId
integer
可选
creatorId
integer
可选
name
string
可选
remark
string
可选
createTime
string
可选
updateTime
string
可选
示例
{
"id": 0,
"companyId": 0,
"creatorId": 0,
"name": "string",
"remark": "string",
"createTime": "string",
"updateTime": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://140.207.166.210:9030/gateway/torch/group/save' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"id": 0,
"companyId": 0,
"creatorId": 0,
"name": "string",
"remark": "string",
"createTime": "string",
"updateTime": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
可选
message
string
可选
data
boolean
可选
type
integer
可选
示例
{
"code": 0,
"data": false,
"message": ""
}
修改于 2024-12-16 07:01:58