{
"response": {
"code": "ステータスコード",
"message": "メッセージ"
}
"success": 成功数,
"failure": 失敗数,
"msgID":"メッセージID",
"responses": [
{
"regID": "登録ID",
"extData": "拡張データ",
"response": {
"code": "各登録IDのステータスコード",
"message": "各登録IDのメッセージ"
}
},
...
]
}
| 変数名 | 説明 | 型 |
|---|---|---|
| response | レスポンス | - |
| code | ステータスコード | int |
| message | メッセージ | String |
| success | 成功数 | int |
| failure | 失敗数 | int |
| msgID | メッセージID | String |
| responses | 送信結果 | 配列 |
| regID | 登録ID | String |
| extData | 拡張データ | String |
| response | レスポンス | - |
| code | 各登録IDのステータスコード | int |
| message | 各登録IDのメッセージ | String |
| コード | 意味(W3C) | 本APIでの意味 | IMAPSプッシュ | APNs | GCM | WNS |
|---|---|---|---|---|---|---|
| 200 | OK | 処理成功 | ○ | ○ | ○ | ○ |
| 400 | Bad Request | リクエスト違反 | ○ | ○ | ○ | ○ |
| 404 | Not Found | リソースがない | ○ | ○ | ○ | ○ |
| 500 | Internal Server Error | そのほかのエラー | ○ | ○ | ○ | ○ |
以下の場合、レスポンスで返ってくるsuccess,failureそれぞれの値は0となります。