eoUploadDocument
Action Parameter
eoUploadDocument
Purpose
This interface is used to store unsigned PDF files as eStore documents that are ready to be signed. The interface can also be used to store a previously-signed document as an Electronic Original document. Documents that are presented for storage as Electronic Original documents will be validated to ensure the integrity of the document prior to storage in the eCore® service.
Description
Stores a document in the eCore® service, and returns a document identifier and other document metadata. The interface requires an existing transaction in the eCore® service.
Type
Granular
Preconditions
Document profile has been created in the eCore® service, and the client application has the dpSid.
Document profile does not contain another Electronic Original document.
Implementation Notes
To upload a new version of a document to an existing Document Profile, the Document Profile must not contain an Electronic Original document.
Parameters
Required
Parameter
Value
Description
dpSid
The unique identifier to a document profile that already exists in the eCore® service.
srcFile
The document file to be stored.
mimeType
application/pdf
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
text/plain
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/lotus123
text/comma-separated-values
text/csv
application/csv
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
image/bmp
image/jpeg
application/postscript
application/png
image/png
application/x-png
image/tiff
image/gif
image/x-xbitmap
application/x-smartdoc
The document mime/type.
documentFileName
The filename of the srcFile. This parameter is used when the document is rendered from the eCore® service, and should include the .PDF document extension in the parameter.
applyStoredFormFieldsTemplate
false
true
This merges form fields that are attached to a DPT when the document is stored.
Response
We recommend using the most recent version of FireFox while testing API calls via your web browser. Microsoft Edge and Google Chrome require 3rd party XML extensions to display the XML response natively in your browser.