Reporting API

Except when explicitly noted, all methods are Authorized, meaning that the request for their invocations should contain HTTP header with the authorization token in form of: Bearer 40cjRHJF.....

Create a request for report as JSON or XML data (when parameters do not fit into GET request)

POST api/data/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

DataResult



Get report as JSON or XML data (can be used when parameters fit, otherwise use POST instead)

GET api/data/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

DataResult



GET api/docs
Returns

IEnumerable`1



Create a request for XLSX report

POST api/xlsx/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

IHttpActionResult



Get the latest log messages (anonymous)

GET api/log?latest={latest}
Parameters
latest Int32 Number of the latest log messages to be returned
Returns

String[]



Create a request for HTML report (to be used by wkhtmltopdf internally)

POST api/html/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

IHttpActionResult



Get tracker KML for Google Earth link (anonymous)

GET api/googleearthlink/trackers/{customer}/{handle}
Parameters
customer String Customer code
handle String Report result unique secret handle
Returns

IHttpActionResult



Get POI KML for Google Earth link (anonymous)

GET api/googleearthlink/pois/{customer}/{handle}
Parameters
customer String Customer code
handle String Report result unique secret handle
Returns

IHttpActionResult



Get geofence KML for Google Earth link (anonymous)

GET api/googleearthlink/geofences/{customer}/{handle}
Parameters
customer String Customer code
handle String Report result unique secret handle
Returns

IHttpActionResult



Create Google Earth link report request

POST api/googleearthlink
Parameters
elp GoogleEarthLinkParams Array of Asset Group Ids (Guid[] AssetGroupIds) to filter Google Earth Link assets
Returns

IHttpActionResult



POST api/scheduler/submit/{type}
Parameters
type String No documentation.
data ScheduleReportData No documentation.
Returns

Guid



POST api/scheduler/generate
Parameters
body ReportRequestModel No documentation.


POST api/scheduler/test/{type}
Parameters
type String No documentation.
param ScheduleReportData No documentation.
Returns

IHttpActionResult



Create a request for KML report

POST api/kml/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

IHttpActionResult



Get the generated report (as a byte stream) identified by a handle (anonymous)

GET api/report-result-content/{customer}/{handle}?dl={dl}
Parameters
customer String Customer code
handle String Report result unique secret handle
dl Boolean If true, force ContentDisposition to Attachment
Returns

IHttpActionResult



Create a request for PDF report

POST api/pdf/{type}
Parameters
type String Report type
rp ReportParams Report parameters
Returns

IHttpActionResult