← FlexAPI Documentation / API Calls / ConfirmDownload
The ConfirmDownload method confirms that a DownloadDocument call successfully returned all of the signed (acted-upon) PDFs and the accompanying Audit Trail. This call is REQUIRED. It tells SIGNiX that, now that your application has the documents, SIGNiX can safely archive or delete transaction data.
ConfirmDownload completes the download process by changing the transaction status from "Complete" to "PendingDeletion". See Retention and deletion on the DownloadDocument page for details. Call it only after your application has stored the downloaded documents, not immediately after the download call.
Demo element. It is required on SubmitDocument only; sending it here is a schema error.CustInfo minimal. Credentials only; no Workgroup is needed.StatusCode, not just the HTTP status. An HTTP 200 can still carry a non-zero StatusCode.DelDocsAfter period set at submission. Confirming early risks losing documents you have not yet stored.An annotated example of the request XML follows.
<?xml version="1.0" ?>
<ConfirmDownloadRq xmlns="urn:com:signix:schema:sdddc-1-1">
<CustInfo> <!-- Occurs once only -->
<!-- Assigned by SIGNiX when the Client is set up. All case sensitive. -->
<Sponsor>YOUR_SPONSOR</Sponsor>
<Client>YOUR_CLIENT</Client>
<UserId>YOUR_USER</UserId>
<Pswd>YOUR_PASSWORD</Pswd>
<!-- Identifies the billing party for this transaction. Primarily used by Clients that need to
differentiate between divisions, end users and so on, to bill them in return or allocate
cost for reporting. Appears on SIGNiX billing reports. Optional. Can be left blank.
Max length 50. -->
<BillingRef>SmithRealty</BillingRef>
</CustInfo>
<Data> <!-- Occurs once only -->
<!-- Identifies the document set with an opaque identifier. This is the same DocumentSetID
returned in the SubmitDocument response. The TransactionID can also be used here. -->
<DocumentSetID>YOUR_DOCUMENT_SET_ID</DocumentSetID>
</Data>
</ConfirmDownloadRq>
An annotated example of the response XML follows. See Status Codes on the main API page for the possible values and meanings of the StatusCode and StatusDesc elements.
<?xml version="1.0" ?>
<ConfirmDownloadRs xmlns="urn:com:signix:schema:sdddc-1-1">
<Status> <!-- Occurs once only -->
<StatusCode>0</StatusCode> <!-- One of the numeric SC_* values -->
<StatusDesc>success</StatusDesc> <!-- Human-readable version of StatusCode -->
</Status>
</ConfirmDownloadRs>
1110 Market Street, Suite 402
Chattanooga, TN 37402
877.890.5350
info@SIGNiX.com
©2016 SIGNiX. All Rights Reserved.