Contact us Login LIVE DEMO FREE TRIAL

generate(…)


Requests a report generation with specified parameters. The particular report type is defined with plugin_id parameter, check Report plugins.
Parameters:
There are two sorts of the parameters:
common parameters – are used with any type of the report;
specific parameters – depend on the type of the report to be generated. For Plugin-specific parameters see “Report plugins” section below.
The common parameters are listed in the table:

name description = type
from A string containing date/time in “yyyy-MM-dd HH:mm:ss” format (in user’s timezone) String
to A string containing date/time in “yyyy-MM-dd HH:mm:ss” format (in user’s timezone). Specified date must be after “from” date String
geocoder Which geocoder to use. See geocoder/ String
trackers List of tracker’s ids to be included in report Int
time_filter An object which contains everyday time limits for processed data, i.e. {“to”:”18:00″, “from”:”12:00″} Object
plugin_id An id of a tracker report plugin which will be used to generate report. Int

Return:

[php]
{
"success": true,
"id": <id of the report queued for generation, i.e. 222. Can be used to request report generation status and to retrieve generated report> //int
}
[/php]

[php]

sasfasdfsafd

[/php]

 

Errors:

  • 217 – List contains nonexistent entities (if one or more of tracker ids belong to nonexistent tracker (or to a tracker belonging to different user))
  • 222 – Plugin not found (if specified report plugin is not found)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 317 1622

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more