AT&T API Platform SDK for Microsoft®  2.3.3
Wrapper classes that allow developers to build robust applications using .NET
 All Classes Namespaces Functions Enumerations Properties
In-application Messaging From Mobile Number Methods

Classes

class  ATT_MSSDK.RequestFactory
 The RequestFactory manages the connections and calls to the AT&T API Platform. More...

Functions

GetMessageHeadersResponse ATT_MSSDK.RequestFactory.GetMessageHeaders (int headerCount, string indexCursor=null)
 This method gets meta-data for one or more Subscriber Messages from the AT&T Messages environment.
GetMessageContentResponse ATT_MSSDK.RequestFactory.GetMessage (string messageId, string partNumber)
 This method gets one or more subscriber messages from the AT&T Messages environment.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage (string address, string text, string subject=null, bool group=false, int maxAddressCount=10)
 Send a message to the specified address.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage (List< string > addresses, string text, string subject=null, bool group=false, int maxAddressCount=10)
 Send a message to the specified address list.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage (string address, List< string > attachments, string text, string subject=null, bool group=false, int maxAddressCount=10)
 Send a message to the specified address.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage (List< string > addresses, List< string > attachments, string text, string subject=null, bool group=false, int maxAddressCount=10)
 Send a message to the specified address list.

Function Documentation

GetMessageContentResponse ATT_MSSDK.RequestFactory.GetMessage ( string  messageId,
string  partNumber 
)

This method gets one or more subscriber messages from the AT&T Messages environment.

Parameters:
messageIdA MessageId representing a Subscriber Message in the AT&T Messages environment.
partNumberA content identifier representing an attachment in the referenced Subscriber Message.
Returns:
GetMessageContentResponse object.
GetMessageHeadersResponse ATT_MSSDK.RequestFactory.GetMessageHeaders ( int  headerCount,
string  indexCursor = null 
)

This method gets meta-data for one or more Subscriber Messages from the AT&T Messages environment.

Parameters:
headerCountThe number of Headers to be returned: Valid Range: Min = 1, Max = 500 HeaderCount will be relative to the most recent Subscriber message.
indexCursorAn index value, for which HeaderCount will start.
Returns:
GetMessageHeadersResponse object containing the results.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage ( string  address,
string  text,
string  subject = null,
bool  group = false,
int  maxAddressCount = 10 
)

Send a message to the specified address.

Parameters:
addressAddress to send message.
textThe text to send.
subjectThe subject to send
groupFlag to send as broadcast or group
maxAddressCountMaximum number of addresses. Its default to 10, but, if APIPlatform changes the value, use the new value as argument
Returns:
ATT_MSSDK.MOBOv1.SendMessageResponseAn SmsResponse object containing the results.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.
InvalidScopeExceptionThrown if the Request Factory scope does not include SMS.
InvalidResponseExceptionThrown if the server returns an error or there is a connection failure.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage ( List< string >  addresses,
string  text,
string  subject = null,
bool  group = false,
int  maxAddressCount = 10 
)

Send a message to the specified address list.

Parameters:
addressesAddress List
textThe text to send.
subjectThe subject to send
groupFlag to send as broadcast or group
maxAddressCountMaximum number of addresses. Its default to 10, but, if APIPlatform changes the value, use the new value as argument
Returns:
ATT_MSSDK.MOBOv1.SendMessageResponseAn SmsResponse object containing the results.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.
InvalidScopeExceptionThrown if the Request Factory scope does not include SMS.
InvalidResponseExceptionThrown if the server returns an error or there is a connection failure.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage ( string  address,
List< string >  attachments,
string  text,
string  subject = null,
bool  group = false,
int  maxAddressCount = 10 
)

Send a message to the specified address.

Parameters:
addressAddress to send message
attachmentsList of attachments
textThe text to send.
subjectThe subject to send
groupFlag to send as broadcast or group
maxAddressCountMaximum number of addresses. Its default to 10, but, if APIPlatform changes the value, use the new value as argument
Returns:
ATT_MSSDK.MOBOv1.SendMessageResponseAn SmsResponse object containing the results.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.
InvalidScopeExceptionThrown if the Request Factory scope does not include SMS.
InvalidResponseExceptionThrown if the server returns an error or there is a connection failure.
SendMessageResponse ATT_MSSDK.RequestFactory.SendMessage ( List< string >  addresses,
List< string >  attachments,
string  text,
string  subject = null,
bool  group = false,
int  maxAddressCount = 10 
)

Send a message to the specified address list.

Parameters:
addressesAddress List
attachmentsList of attachments
textThe text to send.
subjectThe subject to send
groupFlag to send as broadcast or group
maxAddressCountMaximum number of addresses. Its default to 10, but, if APIPlatform changes the value, use the new value as argument
Returns:
ATT_MSSDK.MOBOv1.SendMessageResponseAn SmsResponse object containing the results.
Exceptions:
ArgumentExceptionThrown if an argument is invalid.
InvalidScopeExceptionThrown if the Request Factory scope does not include SMS.
InvalidResponseExceptionThrown if the server returns an error or there is a connection failure.