Page History
The deliver callback is a vibes initiated request to the client to attempt delivery of an MO message to the client. The client endpoint should properly store/record the message and then return an HttpResponse; 200 to acknowledge receipt. The client process should keep actual processing/logic as small as possible, for throughput and performance.
XML Request
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <moMessage messageId="234723487234234" receiptDate="YYYY-MM-DD HH:MM:SS Z"> <source address="+18475551212" carrier="103" type="MDN" /> <destination address="12345" type="SC" /> <message>123857AB12</message> </moMessage> |
Request Element Descriptions
Element | Attribute Name | Description | Data Type | Required | Default |
---|---|---|---|---|---|
moMessage | Main wrapper element indicating that this is a deliver request. | Yes | |||
messageId | A unique identifier for each message. | String | Yes | ||
receiptDate | Receipt Date in standard XML format. | String | Yes | ||
source | Element identifying the source/originator of the message. | Yes | | ||
address | The originating address (ex: MDN) of the message. This must be specified in e.164 international format with a leading + | String | Yes | ||
carrier | The carrier network the Mobile Phone is on. This carrier code will need to be specified for any MT messages for the address. | String | Yes | ||
type | The source address type of the originator. Currently, only MDN for telephone is supported. | String | Yes | ||
destination | Element that identifies the recipience/destination for the message. | | Yes | | |
address | The destination address (ex: Short Code) for the message. | String | Yes | | |
type | The destination address type of the originator. Currently, only SC for "Short Code" is supported. | String | Yes | ||
message | Element identifying the body/content of the message. | Yes |
Anchor | ||||
---|---|---|---|---|
|