0151 355 4555

GetImageReport

Description

After retrieving a list of available scanned documents for a company using the GetAvailableImageReports method, the identified for the required report can be submitted to this method. This method will then return the URL from which the scanned document can be retrieved.

Access to these documents is usually charged as an additional per-use fee on top of access to the rest of this service.

View all Credit & Financial Information methods

Code Samples

<!-- Import the Integr8 Ajax API -->
<!-- NOTE: Get your own API key to use in the following script tag from: -->
<!-- http://www.data-8.co.uk/integr8/Admin/Ajax.aspx -->
<script src="https://webservices.data-8.co.uk/Javascript/Loader.ashx?key=your-api-key" type="text/javascript">
</script>

<script type="text/javascript">

function loadIntegr8() {
  // Load the BusinessInformation Integr8 service
  data8.load('BusinessInformation');
}

function GetImageReport(number, companyName, identifer) {
  /// <param name="number">string</param>
  /// <param name="companyName">string</param>
  /// <param name="identifer">string</param>
  var businessinformation = new data8.businessinformation();
  
  businessinformation.getimagereport(
    number,
    companyName,
    identifer,
    null,
    showGetImageReportResult
  );
}

function showGetImageReportResult(result) {
  // Check that the call succeeded, and show the error message if there was a problem.
  if (!result.Status.Success) {
    alert('Error: ' + result.Status.ErrorMessage);
  }
  else {
    // TODO: Process method results here.
    // Results can be extracted from the following fields:
    // result.Url
  }
}

loadIntegr8();

</script>