Description

Get all Call Blocking Rules for the specified number.

Parameters

string NumberThe number to get the Call Blocking rules on.

Request

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

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroNumbers" name="GetCallBlockingRules" Code="200" RequestId="TestRequest">
        <BlockingRules>
            <Rule>
                <RuleId>1</RuleId>
                <Number>01245123123</Number>
                <Description>Pesky insurance claim people</Description>
                <Modified>2014-03-11 11:42:26</Modified>
            </Rule>
        </BlockingRules>
    </Response>
</NoveroResponse>