The External Web Service Campaign receives the user's MO and calls a third party Web Service to retrieve the desired information to deliver the user an MT message.
This allows businesses to integrate our messaging solutions to existing enterprise systems or websites. This is a common situation for businesses that already operate a comprehensive website where users can access the necessary information in real-time.
External Web Service Campaigns will always deliver the following information as a Web Parameter:
mobile: The user's mobile number.
mo: The user's MO message.
ts: The MO origination timestamp in milliseconds
shortcode: The shortcode where the MO was received.
The following gives insight into how the Call and parameters are defined:
Configured URL = green
Configured Parameters = blue
The third-party Web Service must respond back with the following XML:
<?xml version="1.0" encoding="UTF-8"?> <message> <text></text> </message>
<?xml version="1.0" encoding="UTF-8"?> <message> <text>This is a simple static message</text> </message>
Reports for Web Service Campaigns are similar to Keyword Campaign Reporting:
Full MO log
includes Mobile numbers, MO texts, and timestamps
To give more insight into how our Web Services can work, consider the following Use Case:
An Airline wants to provide On-Demand flight status information to its customers. The user can simply text their flight number to the configured Shortcode and they will receive the latest flight status information as a response.
<?xml version="1.0" encoding="UTF-8"?> <message> <text>Airline name flight number YLL3212 is on time and is expected to land at 12:00 today.</text> </message>
In order to have access to “External Web Service” menu please click on Menu in the upper left corner > Interactive campaigns > External Webservice