发送待办
POST
[host]/OAapp/v1/open-api/send/handle/send
接口描述
发送待办
请求头
参数名
类型
描述
必填
Content-Type
string
application/json;charset=UTF-8
必填
access_token
string
访问令牌
必填
user_id
string
发送用户和本平台关联的ID
必填
请求参数
参数名
类型
描述
必填
relation_key
string
关联key(未填写返回消息ID)
可选
accounts
string array
接收账号组
可选
title
string
标题
可选
msg_status
string
消息状态
可选
msg_color
string
消息状态颜色(目前支持red,green)
可选
msg_content
string[]
分列展现消息内容
可选
handle
string
待办分类
必填
sender_id
string
发送者ID 区分为用户时可自动设置,但手动设置优先
可选
sender
string
发送者名,区分为用户时可自动设置,但手动设置优先
可选
is_deal
int
0 待办 1 已处理
可选
web_url
string
电脑端子URL
可选
pad_url
string
PAD端子URL
可选
mobile_url
string
手机端子URL,不设置走电脑端子URL
可选
open_params
string
跳转参数
可选
msg_status
string
消息状态,推送待办,需同时发消息时需填写,0(新建),1(更新),2(删除)
可选
module
string
消息模块标记,推送待办,需同时发消息时需填写。
可选
is_post
bool
跳转方式:默认 post 跳转。true post跳转,false get跳转
可选
hide_head
bool
使用系统导航头(手机专用):默认为客户导航头。true 客户导航头,false 小天系统头
可选
is_open_web
bool
外部打开(PC端专用):默认为系统内打开。true 系统外打开网页,false 系统内打开
可选
响应参数
参数名
类型
描述
必填
code
int
200000 : 正常 以外:异常
必填
message
string
异常内容
必填
data
string
关联Key或消息ID
可选