Remove Call Blocking on a number

Description

Remove a Call Blocking rule from the specified number.

Parameters

int NumberThe number to remove a Call Blocking rules from.
int RuleIdThe id of the Call Blocking rule to be removed. Rule ids can be found by using NoveroNumbers::GetCallblockingRules().

Request

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

Response

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