NoveroSMS

Description

This function enables you to send SMS messages using the TTNC network. You can display any of your TTNC numbers as the sender of the SMS.

Parameters

string Message

The content of the SMS you want to send.

string Destination

The telephone number you want to send the SMS to. This should be a UK number formatted with the leading zero and be the full 11 or 10 digit number.

string Originator

Your TTNC number, registered mobile number or registered company name to display as the sender of the SMS.

boolean SendLater optional

If you want to schedule your SMS to be sent at a later time or date you must send this parameter along with all of the following parameters to specify the date and time. We recommend you send this as TRUE. This parameter must be omitted entirely from your request in order to send the SMS immediately.

string Year optional

The year for the scheduled time you want the SMS to be sent at. This should be the full 4 digit year, such as '2016'.

string Month optional

The month for the scheduled time you want the SMS to be sent at. This should be the numeric calendar representation including leading zeros, such as '02' for February.

string Day optional

The day of the month for the scheduled time you want the SMS to be sent at. This should be the numeric representation including leading zeros, such as '05' for the 5th of the month.

string Hour optional

The hour for the scheduled time you want the SMS to be sent at. This should be in 24-hour format including leading zeros, such as '08' for 8 am.

string Min optional

The minute for the scheduled time you want the SMS to be sent at. This should include leading zeros, such as '07'.

Request

<?xml version="1.0"?>
<NoveroRequest>
    <Request target="NoveroSMS" name="SendSMS" id="TestRequest">
        <Message>Test Message</Message>
        <Destination>0777777777</Destination>
        <Originator>01245830073</Originator>
        <SendLater>true</SendLater>
        <Year>2015</Year>
        <Month>01</Month>
        <Day>08</Day>
        <Hour>10</Hour>
        <Min>00</Min>
    </Request>
</NoveroRequest>
<?php
    require_once('TTNCApi.php');
    $Api = new TTNCApi('<username>', '<password>', '<VKey>');
    $Request = $Api->NewRequest('NoveroSMS', 'SendSMS', 'TestRequest');
 
    $Request->SetData('Message', 'Test Message');
    $Request->SetData('Destination', '07777777777');
    $Request->SetData('Originator', '01245830073');
 
    $Request->SetData('SendLater', true);
    $Request->SetData('Year', '2015');
    $Request->SetData('Month', '01');
    $Request->SetData('Day', '08');
    $Request->SetData('Hour', '10');
    $Request->SetData('Min', '00');
 
    $Api->MakeRequests();
    $Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroSMS', 'SendSMS', 'TestRequest')
request.setdata('Message', 'Test Message')
request.setdata('Destination', '07777777777')
request.setdata('Originator', '01245830073')
 
request.setdata('SendLater', true)
request.setdata('Year', '2015')
request.setdata('Month', '01')
request.setdata('Day', '08')
request.setdata('Hour', '10')
request.setdata('Min', '00')api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroSMS', 'SendSMS', 'TestRequest')
 
request.setdata('Message', 'Test Message');
request.setdata('Destination', '07777777777');
request.setdata('Originator', '01245830073');
 
request.setdata('SendLater', true);
request.setdata('Year', '2015');
request.setdata('Month', '01');
request.setdata('Day', '08');
request.setdata('Hour', '10');
request.setdata('Min', '00');
 
api.makerequest()
p request.getresponse()
using System;
using TTNCApi;
 
class Program
{
    static void Main(string[] args)
    {
        TTNCApi api = new TTNCApi("<username>", "<password>", "<vkey>");
        TTNCRequest request = api.NewRequest("NoveroSMS", "SendSMS", "TestRequest");
        request.setData("Message", "Test Message");
        request.setData("Destination", "07777777777");
        request.setData("Originator", "01245830073");
 
        request.setData("SendLater", true);
        request.setData("Year", "2015");
        request.setData("Month", "01");
        request.setData("Day", "08");
        request.setData("Hour", "10");
        request.setData("Min", "00");
 
        api.MakeRequests();
        TTNCParser dic = request.GetResponse();
     }
}

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroSMS" name="SendSMS" Code="200" RequestId="TestRequest">
        <ResponseMessage>Your message has been sent successfully</ResponseMessage>
        <Success>Your message has been sent successfully</Success>
    </Response>
</NoveroResponse>

Updated 2 months ago

NoveroSMS


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.