Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following fields are included in the APNUDR UDR:

Field

Description

Body (string)

This field contains the content of the text message to be sent.

CustomPayload (string)

This field contains a custom message with all the tags to be included. When populated (not set to null), it will override the contents of the Body and Title fields.

Info

Example - CustomPayload

Code Block
{"acme2" : [ "bang",  "whiz" ]}

DeviceToken (string)

This field contains the token for the device that will receive the message.

Title (string)

This field contains the title of the text message to be sent.

...

The following fields are included in the APNUDR UDR:

Field

Description

Code (int)

This field indicates the result of the push notification attempt, with the following result codes:

  • 0 - OK

  • 1 - Rejected

  • 2 - Timed out

  • 3 - Error

Message (string)

This field provides a description for each result code:

  • 0 - Empty

  • 1 - Message from Apple describing reason for rejection

  • 2 - Timeout

  • 3 - Content of any exception that has occurred

Notification (APNUDR)

This field contains the original APNUDR UDR received by the agent.

...