Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

getMtMessage - Retrieve a previous MT Message

GET - /MessageApi/mt/messages/<messageId>

Get information about a previous MT submission. Please note that due to the asynchronous processing of the system, the message is not guaranteed to be available and its status retrievable until after the Response callback has been made.

Sample URL Request
https://messageapi.vibesapps.com/MessageApi/mt/messages/b75fccf3-8f06-4d8f-a282-d1886a4792a2
Successful XML Response
<mtMessage submitterMessageId="239487234987234"
	messageId="b75fccf3-8f06-4d8f-a282-d1886a4792a2" 
	submitDate="2011-04-19T15:10:08.320-05:00" isMultipart="true" noOfParts="2" partNumber="1" masterMessageUid="b75fccf3-8f06-4d8f-a282-d1886a4792a2">
	<destination carrier="102" address="+12995551234" type="MDN" />
	<source address="98765" type="SC" />
	<text>123857AB12</text>
	<receiptOption>ERROR</receiptOption>
</mtMessage>

 

Response Element Descriptions

 

Element

Attribute Name

Description

Data Type

mtMessage

 

The main wrapper element around the submit response.

 

 

isMultipart

Only present if equal to True. True if this message is part of a multi-part message.

Boolean

 noOfPartsFor a message that isMultipart=true, indicates the number of parts for the message. Only present if isMultipart=true.String
 partNumberFor a message that isMultipart=true, indicates which part this particular message is. Only present if isMultipart=true.String
 masterMessageIdFor a message that isMultipart=true, indicates the messageUid for the original message that was split. Only present if isMultipart=true.String


 
  • No labels