This method will return a single saved document with the document contents. Use the GetPdfs Request to find which documents can be retrieved. The sub user's UserName can be supplied to specify which sub user the documents were created for, otherwise if null or empty it will show the documents requested by the main account.

Request Parameters

Parameter Type Format Description
Id Required Int64   Document ID number.
SubUserName string Null or max length 50 characters If this is specified, only Saved Documents belonging/requested by this Sub User will be shown in the response, otherwise it will include the Saved Documents requested by the main user account.

Response Parameters

Parameter Type Format Description
ResponseStatus ResponseStatus   Instance of ResponseStatus object (see here)
Document Array   Instance of PdfDocumentWithData see below

PdfDocumentWithData

Parameter Type Format Description
Id Int64   The ID of the saved document
IsReady Boolean   Is the document ready to download
Name String   The name of the saved document
FileName String   The file name (including extension) of the saved document
Type String   The type of saved document (Human readable, pep, sanctions, validid, company lookup, etc.)
SanctionsSearchId Nullable Int64   The ID of the Sanctions Search
PepSearchId Nullable Int64   The ID of the PEP Search
ValidIdSearchId Nullable Int32   The ID of the ValidID Search
CompanyLookupSearchId Nullable Int32   The ID of the CompanyLookup Search
DateCreated DateTime   The date the saved document was created/requested
DateExpires DateTime   The date the saved document will be no longer available. You can request a new document using the SaveSearch, SavePepSearch, etc. methods
DocumentBytes Byte Array   The file data in a byte array