Set up or edit Call Whisper on a number

Description

Set up Call Whisper on a particular number.

Parameters

string NumberThe TTNC number which is to be modified.
int RecordingUIDThe id of the recording to assign as the Whisper message. The recording must already be uploaded to the TTNC system. A list of available recordings on your account can be retrieved by calling NoveroRecordings::RecordingsList().

Request

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

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroNumbers" name="EnableWhisper" Code="200" RequestId="TestRequest">
        <ResponseMessage></ResponseMessage>
        <Success></Success>
    </Response>
</NoveroResponse>