Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Besides the dynamic reports, there is another kind of reports, called preconfigured reports. These are already programmed in the system and allow to make specific preconfigured queries. To execute this type of repor through the API is necessary to know the report code in advance. This code can be obtained just accessin the interface, selecting the report and then obtaining its ID: informe_id. The response is through a CSV file, as in dynamic reports.
The request must be done through GET method. The URL can be obtained entering the interface and clicking on Export Data.

Actualizacion date
To obtain a report, replace informe.csv for informe.html in the previous URL and then add the following parameters:

&o=xml&act=1

This will be return a response like:
<informe informe_id='IDENTIFICADOR'><fecha_actualizacion>TIMESTAMP</fecha_actualizacion></informe>

The date will be returned expressed in seconds since 1970.
Example:
<informe informe_id='269'><fecha_actualizacion>1184900400</fecha_actualizacion></informe>