Untitled Page

Send SMS Gateway API – VB

This command can be used to send text messages to either individual numbers or entire contact groups.

Sample Request

                    
  1. Module Module1
  2. Sub Main()
  3. Dim sendsmscall As New SendSMSVBDotNet.SendSms
  4. Dim url As String
  5. Dim url1 As String
  6. Dim yourAuthKey As String
  7. Dim message As String
  8. Dim senderid As String
  9. Dim routeid As String
  10. Dim mobileNo As String
  11. Dim smsType As String
  12. Dim scheduleTime As String
  13. Dim signature As String
  14. Dim groupName As String
  15. Dim builder As New StringBuilder
  16. url = "Sample URL for Post and Get" ' URL = "Sample" 'eg-- www.abc.com
  17. yourAuthKey = "Sample Auth key" 'eg -- 16 digits alphanumeric
  18. message = "Sample message to sent" '"Hello this is test"
  19. senderid = "Sample Sender Id" '"Sample" 'eg -- Testin'
  20. routeid = "Sampe route Id" 'eg 1
  21. mobileNo = "Sample Mobile No" 'eg-- '99999999xx,99999998xx
  22. smsType = "english" 'eg - english or unicode
  23. scheduleTime = "Sample Schedule time"
  24. signature = "Sample Signature"
  25. groupName = "Sample Group Name"
  26. sendsmscall.sendSmsGet(url, yourAuthKey, message, senderid, routeid, mobileNo, smsType, scheduleTime, signature, groupName)
  27. Console.ReadLine()
  28. End Sub
  29. End Module
                    
  1. Module Module1
  2. Sub Main()
  3. Dim sendsmscall As New SendSMSVBDotNet.SendSms
  4. Dim url As String
  5. Dim url1 As String
  6. Dim yourAuthKey As String
  7. Dim message As String
  8. Dim senderid As String
  9. Dim routeid As String
  10. Dim mobileNo As String
  11. Dim smsType As String
  12. Dim scheduleTime As String
  13. Dim signature As String
  14. Dim groupName As String
  15. Dim builder As New StringBuilder
  16. url = "Sample URL for Post and Get" ' URL = "Sample" 'eg-- www.abc.com
  17. yourAuthKey = "Sample Auth key" 'eg -- 16 digits alphanumeric
  18. message = "Sample message to sent" '"Hello this is test"
  19. senderid = "Sample Sender Id" '"Sample" 'eg -- Testin'
  20. routeid = "Sampe route Id" 'eg 1
  21. mobileNo = "Sample Mobile No" 'eg-- '99999999xx,99999998xx
  22. smsType = "english" 'eg - english or unicode
  23. scheduleTime = "Sample Schedule time"
  24. signature = "Sample Signature"
  25. groupName = "Sample Group Name"
  26. sendsmscall.sendSmsPost(url, yourAuthKey, message, senderid, routeid, mobileNo, smsType, scheduleTime, signature, groupName)
  27. Console.ReadLine()
  28. End Sub
  29. End Module
                    
  1. Module Module1
  2. Sub Main()
  3. Dim sendsmscall As New SendSMSVBDotNet.SendSms
  4. Dim url As String
  5. Dim url1 As String
  6. Dim yourAuthKey As String
  7. Dim message As String
  8. Dim senderid As String
  9. Dim routeid As String
  10. Dim mobileNo As String
  11. Dim smsType As String
  12. Dim scheduleTime As String
  13. Dim signature As String
  14. Dim groupName As String
  15. Dim builder As New StringBuilder
  16. url = "Sample URL for XML" ' URL = "Sample" 'eg-- www.abc.com
  17. yourAuthKey = "Sample Auth key" 'eg -- 16 digits alphanumeric
  18. message = "Sample message to sent" '"Hello this is test"
  19. senderid = "Sample Sender Id" '"Sample" 'eg -- Testin'
  20. routeid = "Sampe route Id" 'eg 1
  21. mobileNo = "Sample Mobile No" 'eg-- '99999999xx,99999998xx
  22. smsType = "english" 'eg - english or unicode
  23. scheduleTime = "Sample Schedule time"
  24. signature = "Sample Signature"
  25. groupName = "Sample Group Name"
  26. sendsmscall.sendSmsXML(url1, yourAuthKey, message, senderid, routeid, mobileNo, smsType, scheduleTime, signature, groupName)
  27. Console.ReadLine()
  28. End Sub
  29. End Module

Caution: Some users opt to place their request inside a code loop, while testing we highly recommend setting the test parameter to true , as occasionally an infinite loop can occur and users can consume all their credits very quickly.

We provide you Bulk SMS API India with sample code in VB.NET so that, you need not to develop the API and source code and with this you can directly integrate our ready to use Bulk SMS API and Source Code in your software (developed in VB.NET language), application, website or custom application and start sending SMS in minutes.

Our SMS APIs India with sample code in VB is a simple way to send text message in single click with VB.NET desktop application.

Whether your Software serve the purpose of Customer relationship management (CRM), Billing, accounting, Reports /content management, HR management, Marketing,Order management, Product life cycle (PLC) management, warehouse management or any other. The developed API and ready made scripts in VB.NET by technical team of Msgclub is easy to integrate in any software developed in VB.NET.

How to integrate bulk sms gateway api in VB .NET ?

    • Sign up with Msgclub and go to developer tool for VB .NET Api and follow the simple steps to integrate bulk SMS API in your website. You will get POST and GET both type of send sms VB .NET API which are ready to use and source code for sms gateway. Our Send sms VB .NET script is used by many software companies and startups as sms verification api in India.Our sms api documentation is one of best for sms api for VB .NET developers.

      We are Bulk SMS API providers for sms notification system, signup messages, alert message and verification code using VB .NET code. Our developer guide also help our clients sms gateway api integration in VB .NET websites or softwares.

      We too provide ready wordpress sms api and drupal sms api.

How to send verification code to mobile using VB.NET ?

    • To send the verification code to mobile through SMS using VB.NET is possible only with the API Integration.


How can I send bulk sms from my website by integrating sms gateway api in VB.NET .

    • The best way to send SMS directly from your website is through API. As it permits you to integrate SMS services into your own system/application/website for better functionality.

      To generate request for the Bulk SMS API just calling a URL with some required parameters like User Name, Password, Sender ID, Mobile Number, Message .When a request is made, the API along with all the parameters send to SMS Gateway server and it process the request and generate response for the particular request immediately. Msgclub provides the Bulk SMS Gateway with HTTP API (HTTP) to be integrated in different programming language like VB ,php,Java, VB.net, C#.

Parameter Name with Description

Parameter Name Data Type Description
AUTH_KEY * Alphanumeric Login Authentication Key(This key is unique for every user)
message * Text Enter your message
senderId * Text Enter senderId it should be less then 6 character
routeId * Integer Which route you want use for sending sms enter routeId for particular route.use given Id for route. Transactional Route=1, Promotinal=2, Promotional SenderId=3
mobileNos * Integer Mobile number can be entered with country code or without country code Multiple mobile no. should be separated by comma
groupId * Integer To send sms to particular group enter group name created in MsgClub phone book.
smsContentType* Text "English" for text sms and "Unicode" for Unicode sms

Parameters with( * ) are mandatory.

Note: While both numbers and group_id are optional parameters, one or the other must be included in the request for the message to be sent.

Errors

Error Codes Description
3001 * for Success
3002 * Invalid URL
3003 * Invalid User/Password
3004 * Invalid Message Type
3005 * Invalid Message
3006 * Invalid Destination
3007 * Invalid Source
3008 * Invalid DLR Field
3009 * Authentication Failed
3010 * Internal Error
3011 * Insufficient Balance
3012 * Responce Time Out
3013 * Invalid Request Content Type
3014 * Missing Mobile Number
3015 * SMs Content for Approval
3016 * Missing Required Parameter
3017 * FAIL
3018 * Expired Account
3019 * Null Pointer Exception code
3020 * Empty User Name
3021 * Empty Password
3022 * User Name not Available
3023 * Session Expired
3024 * Already Exist
3025 * Empty Group Name
3026 * Empty Contact Name
3027 * Empty Mobile Number
3028 * Empty Group Id
3029 * Empty City Name
3030 * Empty Occupation
3041 * Empty E-Mail Id
3042 * Group not Exist
3043 * Empty Message
3044 * Empty Route Id
3045 * Empty Sender Id
3047 * Empty Draft Id
3048 * Empty First Name
3049 * Empty Last Name
3050 * Empty Balance
3051 * Empty Role Id
3052 * For User Name Length
3053 * Empty Expiry Date/td>
3054 * Invalid Date
3055 * Empty Client Id
3056 * Invalid Status
3057 * Empty Country Name
3058 * Empty State Name
3059 * Session Expired
3060 * Empty Date
3061 * Access Denied
3062 * Empty Old Password
3063 * Password not Maching
3064 * Empty SMS
3065 * Empty Amount
3066 * Empty Address
3067 * Empty RequestId
3068 * Empty Group and MobileNo
3069 * Empty Description
3070 * Fail to Change RoleId
3071 * Empty CallerId
3072 * Empty File URL and Draft
3073 * Empty Duration
3074 * Invalid Request
3075 * Invalid Aoudio file
3076 * Missing Upload File

Warnings

Warning Codes
3 Invalid number.
For Any Help Call Us Anywhere Anytime On   +91-94068-11127