get Report
fun getReport(transactionId: String, reportId: String, format: ReportFormat = ReportFormat.JSON, locale: ReportLocale = ReportLocale.EN): Any
Content copied to clipboard
Download a Report
Return
When format is ReportFormat.JSON the parsed JSON is returned. Otherwise the generated file as BufferedSource. Close the Buffer when finished.
Parameters
transactionId
ID of the transaction to be retrieved.
reportId
ID of the report to be retrieved. If not present, current default report will be used.
format
The format parameter is optional. The report is available in the following formats: html, pdf and json. This call defaults to JSON if the format parameter is omitted. (optional)
locale
Locale in which the report will be rendered. This has no effect when using json format. (optional)