Set up or edit a number's nickname

Description

Change or set up the Alias (nickname) of a TTNC number. Use an Alias to quickly identify numbers.

Parameters

string NumberThe TTNC number which is to be modified.
string AliasA string of the alias or nickname you want to give the number.

Request

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

Response

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