3) API Error Codes

API Error Codes: Error Code Description 000 Done 001 login details cannot be blank 003 sender cannot be blank 004 message text cannot be blank 005 message data cannot be blank 006 error: generic error description 007 username or password … Read More

2) XML API

Single SMS http://websmsapp.in/api/mt/SendSMS?  Data:  <smsqueue><Account><User>ru1</User><Password>ru1</Password><SenderId>WEBSMS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message></Messages></smsqueue> Response : <SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages></MessageData></SmsRespons> Multiple SMS http://websmsapp.in/api/mt/SendSMS?  Data:  <smsqueue><Account><User>ru1</User><Password>ru1</Password><SenderId>WEBSMS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message><Message><Number>91989xxxxxxx</Number><Text>This is test message</Text></Message></Messages></smsqueue> Response :  <SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages><Messages><Number>91989xxxxxxx</Number><MessageId>DS10054TRUOo2gzFDWrWM</MessageId></Messages></MessageData></SmsRespons> Schedule SMS http://websmsapp.in/api/mt/SendSMS?  Data:  <SmsQueue><Account><User>ru1</User><Password>ru1</Password><SenderId>WEBSMS</SenderId><Channel>Promo</Channel><Route>##</Route><DCS>0</DCS><FlashSms>0</FlashSms><SchedTime>0</SchedTime></Account><Messages><Message><Number>91999xxxxxxx</Number><Text>This is test message</Text></Message></Messages></SmsQueue> Response :  <SmsRespons><ErrorCode>000</ErrorCode><ErrorMessage>Done</ErrorMessage><JobId>20042</JobId><MessageData><Messages><Number>91999xxxxxxx</Number><MessageId>qY100LoTRUOoHU2gzFcrWA</MessageId></Messages></MessageData></SmsRespons> Group SMS http://websmsapp.in/api/mt/SendSMS?   … Read More

1) HTTP API

Single SMS http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TELEOS&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=test-message&route=2  Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”917405080952″,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]} Multiple SMS http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TELEOS&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx,999xxxxxxx&text=testmessage&route=2   Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”91999xxxxxxx”,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]} Schedule SMS http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TELEOS&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=testmessage&schedtime=2015/12/31 22:35:00 PM&route=2   Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”BqTiw66A2UGLFV3DnwHFLQ”}]} Group SMS http://websmsapp.in/api/mt/SendSMS?user=demo&password=demo123&senderid=TELEOS&channel=Trans&DCS=0&flashsms=0&number=989xxxxxxx&text=testmessage&groupid=###&route=2   Response : {“ErrorCode”:”000″,”ErrorMessage”:”Done”,”JobId”:”20047″,”MessageData”:[{“Number”:”91989xxxxxxx”,”MessageId”:”mvHdpSyS7UOs9hjxixQLvw”},{“Number”:”91999xxxxxxx”,”MessageId”:”PfivClgH20iG6G5R3usHwA”}]} Check Delivery http://websmsapp.in/api/mt/GetDelivery?user=demo&password=demo123&jobid=#######   Response {“ErrorCode”:”0″,”ErrorMessage”:”Done”,”MessageId”:null,”DeliveryReports”:[{“MessageId”:”mvHdpSyS7UOs9hjxixQLvw”,”DeliveryStatus”:”Delivered”,”DeliveryDate”:”2015-09-28T06:17:00″},{“MessageId”:”PfivClgH20iG6G5R3usHwA”,”DeliveryStatus”:”Delivered”,”DeliveryDate”:”2015-09-28T06:17:00″}]} Check Balance http://websmsapp.in/api/mt/GetBalance?User=demo&Password=demo123   Response :- {“ErrorCode”:”0″,”ErrorMessage”:”Done”,”Balance”:”Promo:9988|Trans:999″}  Parameter Information: Parameter Name Description Account Parameters … Read More