平臺主動推送狀態報告

POST

使用者配置的HTTP推送位址

由我方運營人員配置客戶http推送地址後,平臺將http-api接入的短訊,狀態報告主動推送給用戶配置地址
 
推送參數
參數 説明 類型
appId 應用id(短訊-短訊應用) String
orderId 自訂訊息id String
msgid 提交號碼對應平臺msgid String
mobile 提交號碼 String
status 狀態碼:0成功,其他失敗 Int
reason 原因描述 String
timestamp 報告回執時間(毫秒) Long
mcc mcc String
mnc mnc String
pricedetail 費用詳情 JSONObject
pay 總費用 String
chargeCnt 計費條數 Int
currency 幣種 String
price 單價 String

特別說明:​ 若失敗報告回傳 ​MCC=999,表示該號碼為錯誤號碼或遭電信業者禁用。

 
推送示例
Request URL: 
  使用者配置的HTTP推送位址
Request Method: 
  POST
Request Headers:
  Content-Type: application/json;charset=UTF-8
Request Body:
{
  "appId":"4luaKsL2",
  "orderId":"21412",
  "msgid":"2108021059531000096",
  "mobile":"91850000000",
  "status":0,
  "reason":"0",
  "mcc":'404',
  "mnc":'-1',
  "pricedetail":{
      "pay":"0.02",
      "currency":"EUR",
      "chargeCnt":2,
      "price":"0.01"
  }
}
      

Telegram
WhatsApp
諮詢

點擊此處開啟人工服務