by CatherineM » Thu May 26, 2011 11:13 am
Receiving Message Received Push Notifications
When configured to process Message Received Push Notifications the Esendex service will HTTP Post the following xml content to the url specified.
<InboundMessage>
<Id>{guid-of-push-notification}</Id>
<MessageId>{guid-of-inbound-message}</MessageId>
<AccountId>{guid-of-esendex-account-for-message}</AccountId>
<MessageText>{Message text of inbound message}</MessageText>
<From>{phone number of sender of the message}</From>
<To>{phone number of the recipient of the inbound message (the virtual number of the esendex account in use)}</To>
</InboundMessage>
Receiving Message Delivered Push Notifications
When configured to receive Message Delivered Push Notifications the Esendex service will HTTP Post the following xml content to the url specified.
<MessageDelivered>
<Id>{guid-of-push-notification}</Id>
<MessageId>{guid-of-inbound-message}</MessageId>
<AccountId>{guid-of-esendex-account-for-message}</AccountId>
<OccurredAt>{the UTC DateTime (yyyy-MM-ddThh:mm:ss) that the message was delivered to the recipient}</OccurredAt>
</MessageDelivered>