The Dynmark Messaging Web Service provides functionality to enable the incorporation of SMS Messaging capabilities into your applications. This web service provides a single entry point for all your messaging functionality via the MessagingServicesWS class. To get started with this web service simply add a web reference to your application project and create an instance of the Dynmark.Services.WebServices.MessagingServicesWS class to access all of our messaging services. The following example shows just how easy it is.

Examples

CopyC#
//Send Basic Message
string username = "username";  //Username used to log into e-txt
string password = "password";  //Password for this account
string originator = "value";   //Orginator value: Can be string or number (The "From" number)
string number = "number";      //Number Message will be sent to
string messageText = "Sample message text sent via Dynmark Messaging web service";
int sendMessageReturn;

MessagingServicesWS webService = new MessagingServicesWS();
sendMessageReturn = webService.SendMessage(username, password, originator, messageText, number);

MessageReceiptClass[] getReceipt;
getReceipt = WebService.GetMessageReceipts(username, password, sendMessageReturn);

Console.WriteLine(sendMessageReturn);
Console.WriteLine(getReceipt);

Copyright Information

Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Dynmark International.

© 2011 Dynmark International Limited. All rights reserved.

Classes

  ClassDescription
Public classMessagingServicesWS
Provides messaging services for sending and recieving SMS messages to and from mobile handsets.