You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Platform > Frequently Asked Questions > Automating the Delivery of the Platform MI report
Automating the Delivery of the Platform MI report
print icon

Customers may need to automate the delivery of the standard Platform MI report, to assist with integration into other services.

 

With the Whitespace Platform this is straightforward, though it requires a small amount of technical expertise.

 

 The MI report can be run via API call as follows

 

  1. Get an API token by following the instructions linked below:
  2. Store the token in an environment variable - e.g.:
    • EXPORT TOKEN=<value from step 1>
  3. Call the API to prepare the report data:
  4. Call the API to return the generated XLSX/CSV file:

 

In practice it may be necessary to introduce a delay between the call to prepare the data and the call to return the report output (XLSX or CSV), in order for the data generation to complete. 

 

The above may be timed to run at regular intervals (for example, nightly), using Scheduler, CRON or similar.

 

 

 

Feedback
0 out of 0 found this helpful

scroll to top icon