Contents
| ||||||||||||||||||||||||||||||||
In addition to email processing, ePriority offers a batch mobile delivery service. For clients who want to send mobile text notifications or two-way transactional messages, an mobile messages can be delivered through ePriority with the same ease of use as traditional email. ePriority provides the same Delivery Profile features for mobile delivery as it does for batch email processing.
If you have not already done so, you should read the «ePriority Service Overview» before going further with this document as it will provide context for all ePriority features and functionality.
This document defines the ePriority Mobile Delivery Service -- providing automated mobile text message generation and delivery. Batches sent to ePriority may be in any of the following formats:
Instruction File formats and batch submission processes are defined in the following sections. The focus of this document is the Instruction File, which defines all content, recipients, and delivery information necessary to process the Batch.
XML Instruction Files should be named "epriority.xml". Below is a breakdown of the XML file itself with commentary.
You can view a complete XML schema at the following url: http://www.epriority.com/remote/batchservice.xsd.
<?xml version="1.0" encoding="UTF-8" ?>
<batch profile="sms_notify" enrollment="no"
xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
xsd:noNamespaceSchemaLocation="http://www.epriority.com/remote/batchservice.xsd">
A single root "batch" tag surrounds all other tags. Each batch points to the
"default" ePriority Delivery Profile unless otherwise specified. For mobile delivery,
the profile must have a short code enabled.
The enrollment attribute indicates that
the text messages should be sent for the purposes of opting-in to a campaign. Normally,
a destination number that has not opted-in will get filtered from distribution. The
enrollment attribute is useful for initial opt-in messages as well as re-opt-in of
ported phone numbers. The MMA requires that ported numbers re-opt-in from the new carrier.
| Element | Attribute | XML Type | |
| batch | profile | NMTOKEN | |
| content | type | CDATA | |
| content | encoding | fixed | |
| content | charset | CDATA | |
| sms | id | NMTOKEN | |
| pdata | key | CDATA | |
| pdata | value | CDATA | |
See «Batch File» for file requirements.
See «Batch Submission» for batch submission details.