SMSINDIAHUB API

CHECKDELIVERY

Check Delivery Status


/api/mt/SendSMS

Usage Samples

curl -X GET\
-H "Accept: application/json"\
"https//global.smsindiahub.in/api/mt/SendSMS?user=&password=&jobid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CHECKDELIVERYApi;

import java.io.File;
import java.util.*;

public class CHECKDELIVERYApiExample {

    public static void main(String[] args) {
        
        CHECKDELIVERYApi apiInstance = new CHECKDELIVERYApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String jobid = jobid_example; // String | Job Id
        try {
            Successful result = apiInstance.apiMtSendSMSGet(user, password, jobid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CHECKDELIVERYApi#apiMtSendSMSGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CHECKDELIVERYApi;

public class CHECKDELIVERYApiExample {

    public static void main(String[] args) {
        CHECKDELIVERYApi apiInstance = new CHECKDELIVERYApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String jobid = jobid_example; // String | Job Id
        try {
            Successful result = apiInstance.apiMtSendSMSGet(user, password, jobid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CHECKDELIVERYApi#apiMtSendSMSGet");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // Username
String *password = password_example; // Password
String *jobid = jobid_example; // Job Id

CHECKDELIVERYApi *apiInstance = [[CHECKDELIVERYApi alloc] init];

// Check Delivery Status
[apiInstance apiMtSendSMSGetWith:user
    password:password
    jobid:jobid
              completionHandler: ^(Successful output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SmsindiahubApi = require('smsindiahub_api');

var api = new SmsindiahubApi.CHECKDELIVERYApi()
var user = user_example; // {{String}} Username
var password = password_example; // {{String}} Password
var jobid = jobid_example; // {{String}} Job Id

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiMtSendSMSGet(user, password, jobid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiMtSendSMSGetExample
    {
        public void main()
        {

            var apiInstance = new CHECKDELIVERYApi();
            var user = user_example;  // String | Username
            var password = password_example;  // String | Password
            var jobid = jobid_example;  // String | Job Id

            try
            {
                // Check Delivery Status
                Successful result = apiInstance.apiMtSendSMSGet(user, password, jobid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CHECKDELIVERYApi.apiMtSendSMSGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCHECKDELIVERYApi();
$user = user_example; // String | Username
$password = password_example; // String | Password
$jobid = jobid_example; // String | Job Id

try {
    $result = $api_instance->apiMtSendSMSGet($user, $password, $jobid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CHECKDELIVERYApi->apiMtSendSMSGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CHECKDELIVERYApi;

my $api_instance = WWW::SwaggerClient::CHECKDELIVERYApi->new();
my $user = user_example; # String | Username
my $password = password_example; # String | Password
my $jobid = jobid_example; # String | Job Id

eval { 
    my $result = $api_instance->apiMtSendSMSGet(user => $user, password => $password, jobid => $jobid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CHECKDELIVERYApi->apiMtSendSMSGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CHECKDELIVERYApi()
user = user_example # String | Username
password = password_example # String | Password
jobid = jobid_example # String | Job Id

try: 
    # Check Delivery Status
    api_response = api_instance.api_mt_send_sms_get(user, password, jobid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CHECKDELIVERYApi->apiMtSendSMSGet: %s\n" % e)

Parameters

Query parameters
Name Description
user*
String
Username
Required
password*
String
Password
Required
jobid*
String
Job Id
Required

Responses

Status: 200 - successful operation

Status: 400 - Bad Request

Status: 404 - Resource Not Found


SMS

Send SMS


/api/mt/SendSMS

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https//global.smsindiahub.in/api/mt/SendSMS?user=&password=&senderid=&channel=&DCS=&flashsms=&number=&text="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SMSApi;

import java.io.File;
import java.util.*;

public class SMSApiExample {

    public static void main(String[] args) {
        
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        BigDecimal number = 1.2; // BigDecimal | Mobile No.
        String text = text_example; // String | Message
        try {
            Successful result = apiInstance.apiMtSendSMSGet(user, password, senderid, channel, dCS, flashsms, number, text);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SMSApi;

public class SMSApiExample {

    public static void main(String[] args) {
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        BigDecimal number = 1.2; // BigDecimal | Mobile No.
        String text = text_example; // String | Message
        try {
            Successful result = apiInstance.apiMtSendSMSGet(user, password, senderid, channel, dCS, flashsms, number, text);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // Username
String *password = password_example; // Password
String *senderid = senderid_example; // Sender ID
String *channel = channel_example; // Channel (default to Normal)
BigDecimal *dCS = 1.2; // DCS
BigDecimal *flashsms = 1.2; // Flashsms
BigDecimal *number = 1.2; // Mobile No.
String *text = text_example; // Message

SMSApi *apiInstance = [[SMSApi alloc] init];

// Send SMS
[apiInstance apiMtSendSMSGetWith:user
    password:password
    senderid:senderid
    channel:channel
    dCS:dCS
    flashsms:flashsms
    number:number
    text:text
              completionHandler: ^(Successful output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SmsindiahubApi = require('smsindiahub_api');

var api = new SmsindiahubApi.SMSApi()
var user = user_example; // {{String}} Username
var password = password_example; // {{String}} Password
var senderid = senderid_example; // {{String}} Sender ID
var channel = channel_example; // {{String}} Channel
var dCS = 1.2; // {{BigDecimal}} DCS
var flashsms = 1.2; // {{BigDecimal}} Flashsms
var number = 1.2; // {{BigDecimal}} Mobile No.
var text = text_example; // {{String}} Message

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiMtSendSMSGet(user, password, senderid, channel, dCS, flashsms, number, text, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiMtSendSMSGetExample
    {
        public void main()
        {

            var apiInstance = new SMSApi();
            var user = user_example;  // String | Username
            var password = password_example;  // String | Password
            var senderid = senderid_example;  // String | Sender ID
            var channel = channel_example;  // String | Channel (default to Normal)
            var dCS = 1.2;  // BigDecimal | DCS
            var flashsms = 1.2;  // BigDecimal | Flashsms
            var number = 1.2;  // BigDecimal | Mobile No.
            var text = text_example;  // String | Message

            try
            {
                // Send SMS
                Successful result = apiInstance.apiMtSendSMSGet(user, password, senderid, channel, dCS, flashsms, number, text);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SMSApi.apiMtSendSMSGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSMSApi();
$user = user_example; // String | Username
$password = password_example; // String | Password
$senderid = senderid_example; // String | Sender ID
$channel = channel_example; // String | Channel
$dCS = 1.2; // BigDecimal | DCS
$flashsms = 1.2; // BigDecimal | Flashsms
$number = 1.2; // BigDecimal | Mobile No.
$text = text_example; // String | Message

try {
    $result = $api_instance->apiMtSendSMSGet($user, $password, $senderid, $channel, $dCS, $flashsms, $number, $text);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SMSApi->apiMtSendSMSGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SMSApi;

my $api_instance = WWW::SwaggerClient::SMSApi->new();
my $user = user_example; # String | Username
my $password = password_example; # String | Password
my $senderid = senderid_example; # String | Sender ID
my $channel = channel_example; # String | Channel
my $dCS = 1.2; # BigDecimal | DCS
my $flashsms = 1.2; # BigDecimal | Flashsms
my $number = 1.2; # BigDecimal | Mobile No.
my $text = text_example; # String | Message

eval { 
    my $result = $api_instance->apiMtSendSMSGet(user => $user, password => $password, senderid => $senderid, channel => $channel, dCS => $dCS, flashsms => $flashsms, number => $number, text => $text);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SMSApi->apiMtSendSMSGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SMSApi()
user = user_example # String | Username
password = password_example # String | Password
senderid = senderid_example # String | Sender ID
channel = channel_example # String | Channel (default to Normal)
dCS = 1.2 # BigDecimal | DCS
flashsms = 1.2 # BigDecimal | Flashsms
number = 1.2 # BigDecimal | Mobile No.
text = text_example # String | Message

try: 
    # Send SMS
    api_response = api_instance.api_mt_send_sms_get(user, password, senderid, channel, dCS, flashsms, number, text)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SMSApi->apiMtSendSMSGet: %s\n" % e)

Parameters

Query parameters
Name Description
user*
String
Username
Required
password*
String
Password
Required
senderid*
String
Sender ID
Required
channel*
String
Channel
Required
DCS*
BigDecimal
DCS
Required
flashsms*
BigDecimal
Flashsms
Required
number*
BigDecimal
Mobile No.
Required
text*
String
Message
Required

Responses

Status: 200 - successful operation

Status: 400 - Bad Request

Status: 404 - Resource Not Found


Schedule SMS


/api/mt//SendSMS

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https//global.smsindiahub.in/api/mt//SendSMS?user=&password=&senderid=&channel=&DCS=&flashsms=&text=&schedtime="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SMSApi;

import java.io.File;
import java.util.*;

public class SMSApiExample {

    public static void main(String[] args) {
        
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        String text = text_example; // String | Message
        Date schedtime = 2013-10-20T19:20:30+01:00; // Date | schedtime
        try {
            Successful result = apiInstance.apiMtSendSMSGet_0(user, password, senderid, channel, dCS, flashsms, text, schedtime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet_0");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SMSApi;

public class SMSApiExample {

    public static void main(String[] args) {
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        String text = text_example; // String | Message
        Date schedtime = 2013-10-20T19:20:30+01:00; // Date | schedtime
        try {
            Successful result = apiInstance.apiMtSendSMSGet_0(user, password, senderid, channel, dCS, flashsms, text, schedtime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet_0");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // Username
String *password = password_example; // Password
String *senderid = senderid_example; // Sender ID
String *channel = channel_example; // Channel (default to Normal)
BigDecimal *dCS = 1.2; // DCS
BigDecimal *flashsms = 1.2; // Flashsms
String *text = text_example; // Message
Date *schedtime = 2013-10-20T19:20:30+01:00; // schedtime

SMSApi *apiInstance = [[SMSApi alloc] init];

// Schedule SMS
[apiInstance apiMtSendSMSGet_1With:user
    password:password
    senderid:senderid
    channel:channel
    dCS:dCS
    flashsms:flashsms
    text:text
    schedtime:schedtime
              completionHandler: ^(Successful output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SmsindiahubApi = require('smsindiahub_api');

var api = new SmsindiahubApi.SMSApi()
var user = user_example; // {{String}} Username
var password = password_example; // {{String}} Password
var senderid = senderid_example; // {{String}} Sender ID
var channel = channel_example; // {{String}} Channel
var dCS = 1.2; // {{BigDecimal}} DCS
var flashsms = 1.2; // {{BigDecimal}} Flashsms
var text = text_example; // {{String}} Message
var schedtime = 2013-10-20T19:20:30+01:00; // {{Date}} schedtime

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiMtSendSMSGet_0(user, password, senderid, channel, dCS, flashsms, text, schedtime, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiMtSendSMSGet_0Example
    {
        public void main()
        {

            var apiInstance = new SMSApi();
            var user = user_example;  // String | Username
            var password = password_example;  // String | Password
            var senderid = senderid_example;  // String | Sender ID
            var channel = channel_example;  // String | Channel (default to Normal)
            var dCS = 1.2;  // BigDecimal | DCS
            var flashsms = 1.2;  // BigDecimal | Flashsms
            var text = text_example;  // String | Message
            var schedtime = 2013-10-20T19:20:30+01:00;  // Date | schedtime

            try
            {
                // Schedule SMS
                Successful result = apiInstance.apiMtSendSMSGet_0(user, password, senderid, channel, dCS, flashsms, text, schedtime);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SMSApi.apiMtSendSMSGet_0: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSMSApi();
$user = user_example; // String | Username
$password = password_example; // String | Password
$senderid = senderid_example; // String | Sender ID
$channel = channel_example; // String | Channel
$dCS = 1.2; // BigDecimal | DCS
$flashsms = 1.2; // BigDecimal | Flashsms
$text = text_example; // String | Message
$schedtime = 2013-10-20T19:20:30+01:00; // Date | schedtime

try {
    $result = $api_instance->apiMtSendSMSGet_0($user, $password, $senderid, $channel, $dCS, $flashsms, $text, $schedtime);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SMSApi->apiMtSendSMSGet_0: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SMSApi;

my $api_instance = WWW::SwaggerClient::SMSApi->new();
my $user = user_example; # String | Username
my $password = password_example; # String | Password
my $senderid = senderid_example; # String | Sender ID
my $channel = channel_example; # String | Channel
my $dCS = 1.2; # BigDecimal | DCS
my $flashsms = 1.2; # BigDecimal | Flashsms
my $text = text_example; # String | Message
my $schedtime = 2013-10-20T19:20:30+01:00; # Date | schedtime

eval { 
    my $result = $api_instance->apiMtSendSMSGet_0(user => $user, password => $password, senderid => $senderid, channel => $channel, dCS => $dCS, flashsms => $flashsms, text => $text, schedtime => $schedtime);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SMSApi->apiMtSendSMSGet_0: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SMSApi()
user = user_example # String | Username
password = password_example # String | Password
senderid = senderid_example # String | Sender ID
channel = channel_example # String | Channel (default to Normal)
dCS = 1.2 # BigDecimal | DCS
flashsms = 1.2 # BigDecimal | Flashsms
text = text_example # String | Message
schedtime = 2013-10-20T19:20:30+01:00 # Date | schedtime

try: 
    # Schedule SMS
    api_response = api_instance.api_mt_send_sms_get_0(user, password, senderid, channel, dCS, flashsms, text, schedtime)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SMSApi->apiMtSendSMSGet_0: %s\n" % e)

Parameters

Query parameters
Name Description
user*
String
Username
Required
password*
String
Password
Required
senderid*
String
Sender ID
Required
channel*
String
Channel
Required
DCS*
BigDecimal
DCS
Required
flashsms*
BigDecimal
Flashsms
Required
text*
String
Message
Required
schedtime*
Date (date-time)
schedtime
Required

Responses

Status: 200 - successful operation

Status: 400 - Bad Request

Status: 404 - Resource Not Found


Group SMS


/api/mt///SendSMS

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https//global.smsindiahub.in/api/mt///SendSMS?user=&password=&senderid=&channel=&DCS=&flashsms=&text=&groupid="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SMSApi;

import java.io.File;
import java.util.*;

public class SMSApiExample {

    public static void main(String[] args) {
        
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        String text = text_example; // String | Message
        String groupid = groupid_example; // String | groupid
        try {
            Successful result = apiInstance.apiMtSendSMSGet_1(user, password, senderid, channel, dCS, flashsms, text, groupid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet_1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SMSApi;

public class SMSApiExample {

    public static void main(String[] args) {
        SMSApi apiInstance = new SMSApi();
        String user = user_example; // String | Username
        String password = password_example; // String | Password
        String senderid = senderid_example; // String | Sender ID
        String channel = channel_example; // String | Channel
        BigDecimal dCS = 1.2; // BigDecimal | DCS
        BigDecimal flashsms = 1.2; // BigDecimal | Flashsms
        String text = text_example; // String | Message
        String groupid = groupid_example; // String | groupid
        try {
            Successful result = apiInstance.apiMtSendSMSGet_1(user, password, senderid, channel, dCS, flashsms, text, groupid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SMSApi#apiMtSendSMSGet_1");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // Username
String *password = password_example; // Password
String *senderid = senderid_example; // Sender ID
String *channel = channel_example; // Channel (default to Normal)
BigDecimal *dCS = 1.2; // DCS
BigDecimal *flashsms = 1.2; // Flashsms
String *text = text_example; // Message
String *groupid = groupid_example; // groupid

SMSApi *apiInstance = [[SMSApi alloc] init];

// Group SMS
[apiInstance apiMtSendSMSGet_2With:user
    password:password
    senderid:senderid
    channel:channel
    dCS:dCS
    flashsms:flashsms
    text:text
    groupid:groupid
              completionHandler: ^(Successful output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SmsindiahubApi = require('smsindiahub_api');

var api = new SmsindiahubApi.SMSApi()
var user = user_example; // {{String}} Username
var password = password_example; // {{String}} Password
var senderid = senderid_example; // {{String}} Sender ID
var channel = channel_example; // {{String}} Channel
var dCS = 1.2; // {{BigDecimal}} DCS
var flashsms = 1.2; // {{BigDecimal}} Flashsms
var text = text_example; // {{String}} Message
var groupid = groupid_example; // {{String}} groupid

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiMtSendSMSGet_1(user, password, senderid, channel, dCS, flashsms, text, groupid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiMtSendSMSGet_1Example
    {
        public void main()
        {

            var apiInstance = new SMSApi();
            var user = user_example;  // String | Username
            var password = password_example;  // String | Password
            var senderid = senderid_example;  // String | Sender ID
            var channel = channel_example;  // String | Channel (default to Normal)
            var dCS = 1.2;  // BigDecimal | DCS
            var flashsms = 1.2;  // BigDecimal | Flashsms
            var text = text_example;  // String | Message
            var groupid = groupid_example;  // String | groupid

            try
            {
                // Group SMS
                Successful result = apiInstance.apiMtSendSMSGet_1(user, password, senderid, channel, dCS, flashsms, text, groupid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SMSApi.apiMtSendSMSGet_1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSMSApi();
$user = user_example; // String | Username
$password = password_example; // String | Password
$senderid = senderid_example; // String | Sender ID
$channel = channel_example; // String | Channel
$dCS = 1.2; // BigDecimal | DCS
$flashsms = 1.2; // BigDecimal | Flashsms
$text = text_example; // String | Message
$groupid = groupid_example; // String | groupid

try {
    $result = $api_instance->apiMtSendSMSGet_1($user, $password, $senderid, $channel, $dCS, $flashsms, $text, $groupid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SMSApi->apiMtSendSMSGet_1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SMSApi;

my $api_instance = WWW::SwaggerClient::SMSApi->new();
my $user = user_example; # String | Username
my $password = password_example; # String | Password
my $senderid = senderid_example; # String | Sender ID
my $channel = channel_example; # String | Channel
my $dCS = 1.2; # BigDecimal | DCS
my $flashsms = 1.2; # BigDecimal | Flashsms
my $text = text_example; # String | Message
my $groupid = groupid_example; # String | groupid

eval { 
    my $result = $api_instance->apiMtSendSMSGet_1(user => $user, password => $password, senderid => $senderid, channel => $channel, dCS => $dCS, flashsms => $flashsms, text => $text, groupid => $groupid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SMSApi->apiMtSendSMSGet_1: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SMSApi()
user = user_example # String | Username
password = password_example # String | Password
senderid = senderid_example # String | Sender ID
channel = channel_example # String | Channel (default to Normal)
dCS = 1.2 # BigDecimal | DCS
flashsms = 1.2 # BigDecimal | Flashsms
text = text_example # String | Message
groupid = groupid_example # String | groupid

try: 
    # Group SMS
    api_response = api_instance.api_mt_send_sms_get_1(user, password, senderid, channel, dCS, flashsms, text, groupid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SMSApi->apiMtSendSMSGet_1: %s\n" % e)

Parameters

Query parameters
Name Description
user*
String
Username
Required
password*
String
Password
Required
senderid*
String
Sender ID
Required
channel*
String
Channel
Required
DCS*
BigDecimal
DCS
Required
flashsms*
BigDecimal
Flashsms
Required
text*
String
Message
Required
groupid*
String
groupid
Required

Responses

Status: 200 - successful operation

Status: 400 - Bad Request

Status: 404 - Resource Not Found