GetClientsUnits

Returns the number of points the user has.

Attention.

This method is outdated and will soon be disabled. Use version 5 of the API.

For information about the compatibility of methods between versions 4 and 5, see the Migration guide.

Input data

The input data structure in JSON is shown below.

{
   "method": "GetClientsUnits",
   "param": [
      (string)
      ...
   ]
}

The param parameter contains an array of usernames.

Output data

The output data structure in JSON is shown below.

{
   "data": [
      {  /* ClientsUnitInfo */
         "Login": (string),
         "UnitsRest": (int)
      }
      ...
   ]
}

Parameters are described below.

ParameterDescription
ClientsUnitInfo object
LoginUsername.
UnitsRest

Number of points available.

For a delegate, it shows the number of points available to the represented user (a direct advertiser or advertising agency).

Examples of input data

Python

['agrom','larry']

PHP

array('agrom','larry')

Perl

['agrom','larry']