GetAllCounts

Description

Retrieve summaries totals of notifications for the account associated with the current API session.

Parameters

This function takes no parameters.

Request

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

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroNotifications" name="GetAllCounts" Code="200" RequestId="TestRequest">
        <VoicemailsCount>0</VoicemailsCount>
        <MissedCallsCount>0</MissedCallsCount>
        <FaxesCount>0</FaxesCount>
        <SytemEventCount>2</SytemEventCount>
    </Response>
</NoveroResponse>