Versions Compared

Key

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

...

Code Block
POST
<?xml version="1.0" encoding="UTF-8"?>
<mtMessageResponse messageId="865cd3d1-bea6-4a6f-8bac-bae483248a27" 
	submitterMessageId="239487234987234" 
	receiptDate="2011-04-19T15:10:08.320-05:00" 
	isError="true|false">
	<type>System|Carrier|Handset">
|Handset</type>
	<status isError="true|false">
		<description></description>
		<code> </code>
	</status>
</mtMessageResponse>

Attribute Descriptions

mtMessageResponses

Element

Attribute

Description

Data Type

Required

Default

mtMessageResponse

 

Main wrapper element indicating that this is a MtMessage Response

 

yes

 

 

messageId

The unique identifier assigned to the message when it was submitted

String

yes

 

 

count

The number of responses contained in this XML.

int

yes

 

mtMessageResponse

 

  submitterMessageId

The client definable identifier for the message when it was submitted

String

yes

 

 

receiptDate

Date the response was received in standard XML format

String

yes

 

 

 

 

 

 

 

type

 

The type of response. The possible values are

  • Handset: The status update was while submitting the messages to the Handset
  • Carrier: The status 
  • System:

 

no

 

 

type

The type of response. The value of this attribute will be selected from the following possible values: Handset, Carrier.
Handset = SMPP Delivery Receipts
Carrier = SMPP MT responses
TODO need an option for messages that fail before carrier send (e.g. gateway not found)

String

yes

 

 

timestamp

The date/time the response was received from the carrier

Datetime

yes