GetClientsUnits
Returns the number of points the user has.## Related information
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.
| Parameter | Description | 
| ClientsUnitInfo object | |
| 
 | Username. | 
| 
 | 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']
Was the article helpful?
Previous