Welcome to OrientSolutions Limited.
If you are going to build your own applications and your requirement is Bulksms , BrandedSMS , Masked SMS and You need a super fast response and better grip in your application then our php Rest API is very advance and good.
http / Php / json / xml / C# / .NET / java
Delivery Reports / Pre-built Libraries / Readymade SMS Sending Script
Our Docs are such friendly that a normal user can also integrate API with out having deep Developer knowledge. Our Rest api is best choice for international SMS.
Base URL
http://Orientsolutions.co.tz/api?
$$ Php Script
<?php $username = 'username'; $password = 'password'; $to = '255xxxxxxxx'; $from = 'Brand'; $message = 'Test SMS from Orientsolutions.co.tz'; $url = "http://Orientsolutions.co.tz/api?username=".$username."&password=".$password. "&to=".$to."&from=".urlencode($from)."&message=".urlencode($message)." "; //Curl Start $ch = curl_init(); $timeout = 30; curl_setopt ($ch,CURLOPT_URL, $url) ; curl_setopt ($ch,CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch,CURLOPT_CONNECTTIMEOUT, $timeout) ; $response = curl_exec($ch) ; curl_close($ch) ; //Write out the response echo $response ;
?>
Simple Intergration
Please note: All Required Fields are compulsory! Your Request Can Not move Forward without Required Fields
Information About Parameters
PARAMETERS username Your Login Username of Orientsolutions.co.tz (Required). password Your Login Password of Orientsolutions.co.tz (Required). to Recepient Mobile Number (Required). from Your company Name/Brand Name like "xyz" Displayed of Recepient mobile (Required). type type=unicode FOR unicode SMS (OPTIONAL). date dd-mm-YYYY Example:25-02-2014 (OPTIONAL) time hh:mm:ss Example:21:30:55 (OPTIONAL) message The Message For Recepient (Required). Return Response and their Meanings
RETURN VALUES OK The message was successfully accepted for delivery by Orientsolutions.co.tz. -1 Your request is incomplete and missing some mandatory parameters. -2 Invalid Recipient Number. -3 Sender ID cant Be Greater Than 11 Characters. -4 The Username or Password you supplied is either invalid or disabled or blocked. -5 Message Length Cant Be exceeded Than 612 Characters. -6 Balance Error. -7 SMS Rejected Due to spam Filters. -8 too many Recepients are Supplied -9 Unknow error (contact with Department). -10 Service Down. -11 Invalid Date For Schedule.
Note: You can Explod Successfull Result by Mark Fr (:) . First Param for outPut and second to trace Delivery.
Successfull Out Put Response
OK:0766250000
Send SMS Via api API ?
Below simple HTTP GET / POST METHOD example is given. Please Click on it to check api interferace
Scheduled SMS For Future Reservation?
Balance Inquiry
http://Orientsolutions.co.tz/credit?username=xxxx&password=xxxx
Support or Contact
Having trouble with Our Api Check out our documentation or contact support and we’ll help you sort it