DownloadResults
Definition
public byte[] DownloadResults(string username, string password, int resultsId, long offset, int length)
Description
Downloads a chunk of a cleansed data file.
After the caller has retrieved the size of the cleansed data file using the GetResultsSize
method, this method can be used to retrieve the contents of the file in full or in chunks. It is recommended that the caller choose to download
the data in chunks to avoid having to retry downloading the entire data if the Internet connection is lost during the download.
The value returned from the PurchaseResults method should be supplied as the resultsId parameter.
The offset parameter can be any value between 0 and the size of the data as returned by GetResultsSize
minus one.
The length parameter can be any value from 1 and the size of the data as returned by GetResultsSize
minus the value supplied for the offset.
The data returned from this method will be in the same underlying file format (e.g. CSV, tab delimited etc.) as the originally uploaded file, with the
exceptions that Microsoft Excel and Microsoft Access files are returned as CSV files. The file will contain all the originally supplied columns, followed
by any additional columns appended by the selected data cleansing services. The layout of the columns in the file can be determined from the
GetOutputFormat method. The records in the data are returned in the same order as originally supplied.
Results Manager documentation