- system
- access
- app
- common
- data
- dict
- log
- module
- ops
- role
- tenant
- user
- notify
- area
- project
- slot
- dept
- job
- open
- data
更新消息
POST
/api/v1/system/notify/message/info/update
system/notify/message/infosystemNotifyMessageInfo
请求参数
Header 参数
Ithings-Project-Id
string
可选
默认值:
{{Ithings-Project-Id}}
Ithings-Token
string
可选
默认值:
{{iThings-token}}
app-code
string
可选
默认值:
{{appCode}}
device-id
string
可选
Body 参数application/json
id
integer <int64>
必需
group
string
分组
notifyCode
string
必需
notifyName
string
通知的名称,只读
subject
string
主题
body
string
内容
str1
string
必需
str2
string
必需
str3
string
必需
isGlobal
integer <int64>
必需
notifyTime
integer <int64>
通知时间
createdTime
integer <int64>
必需
示例
{
"id": 0,
"group": "string",
"notifyCode": "string",
"notifyName": "string",
"subject": "string",
"body": "string",
"str1": "string",
"str2": "string",
"str3": "string",
"isGlobal": 0,
"notifyTime": 0,
"createdTime": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/system/notify/message/info/update' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
返回code
默认值:
200
msg
string
返回的消息
示例
{
"code": "200",
"msg": "string"
}
修改于 2025-03-25 09:32:22