5G视信状态报告通知

1、概述

5G视信消息发送状态,转发给客户

2、审核结果通知

在开户的时候填写回调地址

3、平台回调参数

名称 数据类型 是否必有 描述
result string 回调状态码
msg string 描述
reports array[object] 状态报告对象的集合
必需:result = "0"
msgId string 消息批次id
mobile string 消息接收号码
status string 发送结果:0—成功(如果配置了需要下载状态,status为0时errorCode为RECEIVD表示下载成功);1—接口处理失败; 2—运营商网关失败
errorCode string 当status为1时,可参考:5G视信消息处理失败错误码;当status为2时,表示运营商网关返回的原始值。
运营商返回原始值
  • Sent:消息已发出
  • MessageSent:消息已发出
  • DeliveredToTerminal:以消息的形态达到终端
  • DeliveryImpossible:下行消息投递失败
  • DeliveredToNetwork:已转短消息发送
  • MessageDisplayed:消息已阅
  • statusDesp string 错误码描述
    reportTime string 状态报告时间
    时间格式:yyyy-MM-dd HH:mm:ss

    4、平台回调示例

    例
    {
        "result": 0,
        "msg": "无错误,命令正确接收",
        "reports": [{
            "msgId": "c3b8bc2620fa4e3787d8f91f0e14b6e5",
            "mobile": "13052036916",
            "status": "1",
            "errorCode":"28",
            "statusDesp": "黑名单号码",
            "reportTime": "2018-02-03 17:05:30"
        }, {
            "msgId": "47c21f6c16e9434eb35f6f2094c6d734",
            "mobile": "13052036916",
            "status": "0",
            "errorCode":"DELIVRD",
            "statusDesp": "已通知",
            "reportTime": "2018-02-03 16:59:46"
        }]
    }

    5、客户响应参数

    名称 数据类型 是否必有 描述
    status string success 成功,其他的都视为推送不成功

    6、客户响应示例

    HTTP/1.1 200 OK
    Server: IAG
    Date: Thu, 11 Jun 2020 10:12:21 GMT
    Content-Type: application/json;charset=UTF-8
    Content-Length: 123
    Connection: close
    
    {
        "status": "success"
    }
    
    文档更新时间: 2025-12-17 10:38   作者:王超