/getPreset

Retrieves the parameters of the specific push preset.

👍

Enterprise API

Retrieves the parameters of the specific push preset.

Response:

{ 
  "status_code":200,
  "status_message":"OK",
  "response":{ 
    "preset":{ 
      "code":"XXXXX-XXXXX",
      "name":"Full preset",
      "page_id":26,
      "url":null,
      "content":{ 
        "en":"Some eng message",
        "ru":"\u041a\u0430\u043a\u043e\u0439-\u0442\u043e \u0442\u0435\u043a\u0441\u0442"
      },
      "properties":{ 
        "ignore_user_timezone":1,
        "ios_badges":"5",
        "ios_sound":"default",
        "ios_ttl":"43200",
        "android_sound":"Sound1.wav",
        "android_custom_icon":"icon.png",
        "android_header":"android_header",
        "android_gcm_ttl":"43200",
        "wns_type":"toast",
        "wns_content":{ 
          "template":"ToastImageAndText02",
          "lang-en":{ 
            "headlinetext":"Title",
            "bodytext":"super text"
          },
          "languages":["en", "zh", "it", "sv", "de", "fr", "ru", "pt", "nl", "es"],
          "lang-zh":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-it":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-sv":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-de":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-fr":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-ru":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-pt":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-nl":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "lang-es":{ 
            "headlinetext":"",
            "bodytext":""
          },
          "imagesource":"http:\/\/image.com\/jpg"
        },
        "blackberry_header":"Some Header",
        "adm_sound":"song",
        "adm_custom_icon":"i5.bmp",
        "adm_header":"Amazon Header",
        "adm_ttl":"7200",
        "wp_type":"Tile",
        "wp_background":"i1.png",
        "wp_count":5,
        "wp_backbackground":"i2.png",
        "wp_backtitle":"back title",
        "wp_backcontent":"back content",
        "safari_title":"Safari title",
        "safari_action":"OK",
        "safari_url_args":["hello.com",  ""],
        "safari_ttl":"43200",
        "userdata":"{\"custom\":\"data\"}",
        "created_via":"CP",
        "user_id":2,
        "filter_id":"1"
      },
      "platforms":[1,3,2,5,9,4,7,8,10]
    }
  }
}
Language
Click Try It! to start a request and see the response here!