Versions Compared

Key

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

The APN UDR types include the following UDRs;

  • APNUDR
  • APNResult

APNUDR

When the APN agent receives a APNUDR, it sends out the message contained to the Apple device indicated by the DeviceToken.

...

Info
titleExample - Generated message from Body and Title fields

APL:

Code Block
consume {    
	APNUDR aUDR = udrCreate(APNUDR);
	aUDR.Body ="This is an example.";
	aUDR.DeviceToken="7bd78578c2d702201cb291cdec4ad8e736c893b531deae602451e80617b53ae9";
	aUDR.Title="Example Title";
	udrRoute(aUDR);
}

Message:

Code Block
{"aps":{"alert":{"body":"This is an example.","title":"Example Title"}}}

APNResult

When the APN agent has sent out a text message based on a received APNUDR UDR, it returns an APNResult UDR.

...