Description
Retrieve a list of tags on a number
Parameters
string Number | The number |
Request
<?xml version="1.0"?>
<NoveroRequest>
<Request target="NoveroNumbers" name="GetTags" id="TestRequest">
<Number>01245123456</Number>
</Request>
</NoveroRequest>
<?php
require_once('TTNCApi.php');
$Api = new TTNCApi('<username>', '<password>', '<VKey>');
$Request = $Api->NewRequest('NoveroNumbers', 'GetTags', 'TestRequest');
$Request->SetData('Number', '01245123456');
$Api->MakeRequests();
$Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroNumbers', 'GetTags', 'TestRequest')
request.setdata('Number', '01245123456')
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroNumbers', 'GetTags', 'TestRequest')
request.setdata('Number', '01245123456')
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", "GetTags", "TestRequest");
request.setData("Number", "01245123456");
api.MakeRequests();
TTNCParser dic = request.GetResponse();
}
}
Response
<?xml version="1.0"?>
<NoveroResponse>
<Response target="NoveroNumbers" name="GetNumbers" Code="200" RequestId="TestRequest">
<Tags>
<Tag>
<TagId>135</TagId>
<Name>Tag 1</Name>
<Colour>purple</Colour>
</Tag>
<Tag>
<TagId>136</TagId>
<Name>Tag 2</Name>
<Colour>green</Colour>
</Tag>
...
</Tags>
</Response>
</NoveroResponse>