SimpleSMSSend

Send single, immediate text messages from your website or application with the SimpleSMSSend method. SMS Notify! uses DIDs or short codes assigned to your account license key to send MTtext messages and receive MO text messages.

HTTP Method
HTTP Method: GET (REST)

Url: http://sms2.cdyne.com/sms.svc/SimpleSMSsend?PhoneNumber={PHONENUMBER}&Message={MESSAGE}&LicenseKey={LICENSEKEY}

Url: https://sms2.cdyne.com/sms.svc/SecureREST/SimpleSMSsend?PhoneNumber={PHONENUMBER}&Message={MESSAGE}&LicenseKey={LICENSEKEY}

XML Response
The following is an example response Xml body:

 true 1627aea5-8e0a-4371-9022-9b504344e724 true String content NoError  true 1999-05-31T11:20:00 </SMSResponse>

Json Response
The following is an example response Json body:

{ 	"Cancelled":true, "MessageID":"1627aea5-8e0a-4371-9022-9b504344e724", "Queued":true, "ReferenceID":"String content", "SMSError":0, "SMSIncomingMessages":null "Sent":true, "SentDateTime":"\/Date(928164000000-0400)\/" }

SimpleSMSSend Code Examples
Using as a Service Reference(.NET Framework 3.5+)

Add this service reference to your project: http://sms2.cdyne.com/sms.svc?wsdl

VB.NET
Add this service reference to your project: http://sms2.cdyne.com/sms.svc?wsdl

PHP
The following example was built using PHP 5.3.2. Your setup may differ, so please assure that your PHP 5.x version supports the SOAPClient class.

PHP with cURL
The following example was built using PHP 5.3.2 using cURL

Ruby
Example 1 Example 2

Perl
http://search.cpan.org/~revmischa/Net-SMS-CDYNE-0.04/lib/Net/SMS/CDYNE.pm