SetMissedCallDestination

Description

Turn on Missed Call Alert for the specified number.

Parameters

string Destination

List of destination Email Addresses or UK Mobile numbers, comma separated. Please note; Missed Call Alerts sent to Mobile numbers are SMSs which are chargeable. Please consult your pricing for details.

string Number

The TTNC number which is to be modified.

bool Enable optional

If this parameter is sent in the request, Missed Call Alert will be turned on with the settings sent. If this parameter is not sent in the request, Missed Call Alert will be turned off.

Request

<?xml version="1.0"?>
<NoveroRequest>
    <Request target="NoveroNumbers" name="SetMissedCallDestination" id="TestRequest">
        <Number>01245123456</Number>
        <Destination>[email protected],07540196031</Destination>
        <Enable>1</Enable>
    </Request>
</NoveroRequest>
<?php
    require_once('TTNCApi.php');
    $Api = new TTNCApi('<username>', '<password>', '<VKey>');
    $Request = $Api->NewRequest('NoveroNumbers', 'SetMissedCallDestination', 'TestRequest');
    $Request->SetData('Number', '01245123456');
    $Request->SetData('Destination', '[email protected], 07540196031');
    $Request->SetData('Enable', '1');
    $Api->MakeRequests();
    $Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroNumbers', 'SetMissedCallDestination', 'TestRequest')
request.setdata('Number', '01245123456')
request.setdata('Destination', '[email protected],07540196031')
request.setdata('Enable', '1')
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroNumbers', 'SetMissedCallDestination', 'TestRequest')
request.setdata('Number', '01245123456')
request.setdata('Destination', '[email protected],07540196031')
request.setdata('Enable', '1')
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("NoveroNumbers", "SetMissedCallDestination", "TestRequest");
        request.setData("Number", "01245123456");
        request.setData("Destination", "[email protected],07540196031");
        request.setData("Enable", "1");
        api.MakeRequests();
        TTNCParser dic = request.GetResponse();
     }
}

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroNumbers" name="SetMissedCallDestination" Code="200" RequestId="TestRequest">
        <ResponseMessage>Missed call alert enabled successfully</ResponseMessage>
        <Success>Missed call alert enabled successfully</Success>
        </Response>
</NoveroResponse>