批量发送自定义系统通知
POST
/im/v2/custom_notification/batch请求参数
Body 参数application/json
object {0}
示例
{
"sender_id": "apifoxtest18",
"content": "tempor nisi aliqua",
"push_config": {
"push_enabled": true,
"push_nick_enabled": false,
"push_content": "ut voluptate nulla aliquip",
"push_payload": null,
"push_forcepush_all": false,
"push_forcepush_ids": [
"30"
],
"push_forcepush_content": "culpa Lorem irure dolore fugiat"
},
"sound": "magna ex sit velit",
"route_config": {
"route_enabled": false,
"route_environment": null
},
"notification_config": {
"offline_enabled": false,
"unread_enabled": false
},
"receiver_ids": [
"apifoxtest10",
"apifoxtest32"
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
success_list
array[string]
可选
发送成功的的自定义系统通知。
failed_list
array[string]
可选
示例
{
"code": 200,
"msg": "success",
"data": {
"failed_list": [
{
"account_id": "hkj-100",
"error_msg": "error",
"error_code": 102404
}
],
"success_list": [
"hkj1"
]
}
}
最后修改时间: 9 个月前