新增待办数量
请求方式:POST
请求路径:
https://prod.open-api.mysre.cn/message/add-todo-count
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| tenant_code | query | string | 是 | 租户 code | ||
| title | body | string | 是 | 房产绑定通知 | 标题 | |
| msg_id | body | string | 是 | test12345678932211212 | 消息 ID | |
| content | body | string | 是 | 嗨,您的房产已绑定,请查看! | 消息内容 | |
| receiver_id | body | string | 是 | 13691924538 | 消息接收人手机号 | |
| source | body | string | 是 | prod_opensystem2 | 来源(微应用填微应用 code) | |
| target | body | string | 是 | SUPER_APP | 消息接收对象类型 | |
| target_data | body | string | 是 | {"msgCount":11} | 消息接收对象目标数据 |
{
"title":"房产绑定通知",
"msg_id":"test12345678932211212",
"content":"嗨,您的房产已绑定,请查看!",
"receiver_id":"13691924538",
"source":"prod_opensystem2",
"target":"SUPER_APP",
"target_data":"{\"msgCount\":11}"
}
{
"errcode": 0,
"errMsg": "成功",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | 错误码 |
| errMsg | string | 错误提示信息 |
| data | array | 数据集合 |
{
"errcode": 9000,
"errMsg": "租户code不能为空",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | 错误码 |
| errMsg | string | 错误提示信息 |
| data | array | 数据集合 |