SetHuntGroup

Description

Set up the Hunt Delay (ring time) for each destination in a Hunt Group (or the retry time when using Forward to All).

Parameters

string Number

The TTNC number which is to be modified.

int Hunt Delay

The number of seconds for the Hunt Delay.

Request

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

Response

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