Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

getListDomainCount


The getListDomainCount() method retrieves the number of recipients on a specified list, by domain
(optionally limited to the top N results or to a specified set of domains).

Input

[vrtypens:getListDomainCountArgs]

session_id [xsd:string] (required)
Your API session id.
list_id [xsd:int] (required)
The list whose domains are being counted.
max_domains [xsd:int]
An amount to limit the results by.
restrict_domains [vrtypens:ArrayOfString]
An array of domains to limit the result by.

Examples

Perl

$vrapi->getListDomainCount( {
    session_id => $sid,
    list_id => $lid,
    max_domains => 10,
} );

PHP

$vrapi->getListDomainCount( array(
    'session_id'  => $sid,
    'list_id'     => $lid,
    'max_domains' => 10
) );

Ruby

vr.getListDomainCount({
    'session_id'  => sid,
    'list_id'     => lid,
    'max_domains' => 10
})