Windows Objects

These objects are used to define or request information related to Windows Phone 8 Push and Windows Universal Push content.

Windows Phone 8 Push Object

1
2
3
4
5
6
7
8
{
   "push_type": (optional, string) must be "toast",
   "toast_title": (optional, string) the notification title,
   "toast_content": (required, string) the notification message,
   "toast_navigation_uri": (optional, string) page uri to send user to,
   "toast_hash": (optional, object) additional keys and values to send,
   "message_variation_id": (optional, string) used when providing a campaign_id to specify which message variation this message should be tracked under (must be a Windows Phone 8 Push Message)
}

Windows Universal Push Object

See the Windows Universal toast template catalog for details on the options for push_type below.

1
2
3
4
5
6
7
8
9
{
   "push_type": (required, string) one of: "toast_text_01", "toast_text_02", "toast_text_03", "toast_text_04", "toast_image_and_text_01", "toast_image_and_text_02", "toast_image_and_text_03", or "toast_image_and_text_04",
   "toast_text1": (required, string) the first line of text in the template,
   "toast_text2": (optional, string) the second line of text (for templates with > 1 line of text),
   "toast_text3": (optional, string) the third line of text (for the *_04 templates),
   "toast_text_img_name": (optional, string) the path for the image for the templates that include an image,
   "message_variation_id": (optional, string) used when providing a campaign_id to specify which message variation this message should be tracked under (must be a Windows Universal Push Message),
   "extra_launch_string": (optional, string) used to add deep linking functionality by passing extra values to the launch string
}

For more information on using the extra_launch_string parameter for deep linking, see Deep Linking with Windows Universal. For information regarding what a deep link is, please see our FAQ Section.

WAS THIS PAGE HELPFUL?
New Stuff!