Retrieve the call rates for a number

Description

Retrieve current call rates for the number types found in the account associated with the current API session.

Parameters

This function takes no parameters.

Request

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

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroNumbers" name="GetCallRates" Code="200" RequestId="TestRequest">
        <NumberTypes>
            <NumberType Type="freephone">
            <regex>^080</regex>
            <name>Freephone Number</name>
            <name_alt>080 Numbers</name_alt>
            <example>08004681000</example>
            <MobileCharge>0.1200</MobileCharge>
            <LandlineCharge>0.0350</LandlineCharge>
            </NumberType>
            <NumberType Type="geo">
            <regex>^(01|02)</regex>
            <name>Geographic Number</name>
            <name_alt>01/02/03 Numbers</name_alt>
            <example>02031511000</example>
            <MobileCharge>0.1000</MobileCharge>
            <LandlineCharge>0.0200</LandlineCharge>
        </NumberType>
 
        ...
 
    </Response>
</NoveroResponse>