個別プッシュ通知を取得します。

リクエスト

メソッド

GET

URL

https:////push_notification//rest_api=1.0/

ヘッダー

パラメータ名
Content-Type application/json

すべてのリソースで共通のリクエストヘッダーは、こちらをご参照ください。

コンテント

リクエスト例

curl -v -X GET
       -H "CONTENT-TYPE: application/json" 
       -H "X-ECHO-APP-ID: fd15eacfaf2388fac2980fef163c6116" 
       -H "X-ECHO-APP-KEY: 0cdf8bc765d7d9604e83becf93137d42" 
       "https://hogehoge.echopf.com/members/push_notification/240/rest_api=1.0/"

レスポンス

HTTPステータス

ステータスコード内容
200 取得成功

ヘッダー

パラメータ名
Content-Type application/json

コンテント

個別プッシュ通知が出力されます。

フィールド名説明











refid 文字列 プッシュ通知ID
title 文字列 プッシュ通知タイトル
text 文字列 プッシュ通知本文
distributed 日時 配信予約日時
target メンバーターゲッティングオブジェクト 配信ターゲット
status 数値 配信ステータス
  • 0: 配信完了
  • 1: 配信予約
  • -1: 下書き保存
created 日時 登録日時
modified 日時 最終更新日時
acl ACLオブジェクト アクセスコントロール (ACL)

レスポンス例

{
  "refid":"240",
  "title":"push_notification title",
  "text":"push_notification text",
  "status":-1,
  "distributed":"2015-11-11 10:10:10",
  "created":"2015-11-10 10:10:10",
  "modified":"2015-11-10 10:10:10",
  "target":{
    "members":"*"
  },
  "resource_type":"push_notification",
  "acl":{
    "*":{
      "get":true,
      "list":true,
      "edit":true,
      "delete":true
    }
  }
}