硬件开发工具链平台云服务-消息中心发送消息:请求示例

时间:2024-11-11 17:47:13

请求示例

示例一:
[
  {
    "fromSysId": "0",
    "fromSysMessageId": "basic2234567415966011",
    "fromUserAccountId": "1008600000015687941",
    "sendTime": "2023-10-17 11:03:26",
    "messageType": "AUTHORIZATION_NOTIFICATION",
    "messageSubject": "消息主题06",
    "messageContent": "消息内容06",
    "messageRedirectUrl": "http://w3.huawei.com/next/indexa.html?locale=zh#path=home",
    "deliveryType": "USER",
    "receiver": ["1008600000055320663"]
  }
]
示例二:
[
    {
        "fromSysId": "0",
        "fromSysMessageId": "basic0templatemsgtest0001",
        "fromUserAccountId": "75fa53d9-072a-4edc-85e9-7074b0d3e836",
        "sendTime": "2023-10-17 11:03:26",
        "messageType": "AUTHORIZATION_NOTIFICATION",
        "messageSubject": "使用消息模板进行消息发送",
        "messageTemplateName": "授权申请提醒",
        "messageData": {
            "username": "用户1",
            "applyName": "基础服务"
        },
        "messageContent": "",
        "messageRedirectUrl": "http://w3.huawei.com/next/indexa.html?locale=zh#path=home",
        "deliveryType": "USER",
        "receiver": [
            "05209014da3a49faa68056102da7ba35"
        ],
        "tenantId": "9190086000001150600"
    }
]
support.huaweicloud.com/api-craftartsipdcenter/ipdcenter_06_0044.html