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:

namedescription =type
fromA string containing date/time in “yyyy-MM-dd HH:mm:ss” format (in user’s timezone)String
toA string containing date/time in “yyyy-MM-dd HH:mm:ss” format (in user’s timezone). Specified date must be after “from” dateString
geocoderWhich geocoder to use. See geocoder/String
trackersList of tracker’s ids to be included in reportInt
time_filterAn object which contains everyday time limits for processed data, i.e. {“to”:”18:00″, “from”:”12:00″}Object
plugin_idAn 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 225 46 88

Mexico: +52 558 526 11 25

UK: +44 203 807 64 62

Russia: +7 495 128 35 56

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