Introduction

Webservice responds to GET or POST requests
and accepts URL encoded variables

Webservice returns XML but does not require XML in the request

The URL is
http://www.omnovia.com/api/sms/

Most calls require authentication.

GET or POST Params
companyID
md5pass
Example (tack this on your GET requests)
$auth = "?companyID=xxx&md5pass=098f6bcd4621d373cade4e832627b4f6";
In most cases the return will be this
<?xml version ='1.0' encoding ='ISO-8859-1' ?>
<root>
<status>completed</status>
</root>
CSTAUS Codes
Valid Status Codes:
	0: Never Send
	1: Send only when not in room
	2: Always Send

API Methods

List Methods

http://www.omnovia.com/api/sms/

List SMS users for a room


$url/users/$roomID/$auth
Example
http://www.omnovia.com/api/sms/users/246/?companyID=xxx&&md5pass=xxx

List a sinlge SMS user for a room


$url/user/$roomID/$username/$auth
Example
http://www.omnovia.com/api/sms/user/246/mott/?companyID=xxx&&md5pass=xxx

Add a user

$url/saveUser/$auth
POST params
roomID (number)
userName (string)
origUser (optional if rename)
phone (number)
cstatus (number)
countryCode (string optional)
Country Code
Two character string to represent Country Code cell service is located. 
The SMS service uses ISO-3166 for Country Code naming conventions.  
For an example of country codes, Click Here

Delete a user

$url/deleteUser/$roomID/$username/$auth

Send a single SMS

$url/send/$auth
POST params
roomID (number)
userName (string)
message
fromName
fromNumber
toNumber

Send SMS to multiple recipients

Recipients are not passed, they are based on the roomID

$url/sendBulk/$auth
POST params
roomID (number)
message
fromName
fromNumber