更新消息
POST
[host]/OAapp/v1/open-api/send/message/update
接口描述
消息更新。更新消息参数不填写则使用发送消息内容填充。
请求头
参数名
类型
描述
必填
Content-Type
string
值必须为:application/json;charset=UTF-8
必填
access_token
string
访问令牌
必填
请求参数
参数名
类型
描述
必填
relation_key
string
关联key或返回的消息ID
必填
accounts
string[]
账号列表
可选
title
string
标题
可选
module
string
消息模块标记
可选
web_url
string
PC跳转子路径
可选
pad_url
string
PAD跳转子路径
可选
mobile_url
string
手机跳转子路径
可选
msg_status
string
消息状态
可选
msg_color
string
消息状态颜色(目前支持red,green)
可选
msg_content
string[]
分列展现消息内容
可选
msg_status
int
消息状态:此处要固定为1,修改
必填
is_post
bool
跳转方式:默认 post 跳转。true post跳转,false get跳转
可选
hide_head
bool
使用系统导航头(手机专用):默认为客户导航头。true 客户导航头,false 小天系统头
可选
is_open_web
bool
外部打开(PC端专用):默认为系统内打开。true 系统外打开网页,false 系统内打开
可选
is_message_card
int
1:消息卡片
可选
card_id
string
消息卡片id
可选
variable_json
object
消息卡片内容,此处需按照消息卡片id传对应json
可选
响应参数
参数名
类型
描述
必填
code
int
200000 : 正常 以外:异常
必填
message
string
异常内容
必填
data
string
关联Key或消息ID
可选