Skip to content

/AWS1/CL_WDX=>INITIATEDOCVERSIONUPLOAD()

About InitiateDocumentVersionUpload

Creates a new document object and version object.

The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion.

To cancel the document upload, call AbortDocumentVersionUpload.

Method Signature

IMPORTING

Optional arguments:

IV_AUTHENTICATIONTOKEN TYPE /AWS1/WDXAUTHNTCTNHEADERTYPE /AWS1/WDXAUTHNTCTNHEADERTYPE

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

IV_ID TYPE /AWS1/WDXRESOURCEIDTYPE /AWS1/WDXRESOURCEIDTYPE

The ID of the document.

IV_NAME TYPE /AWS1/WDXRESOURCENAMETYPE /AWS1/WDXRESOURCENAMETYPE

The name of the document.

IV_CONTENTCREATEDTIMESTAMP TYPE /AWS1/WDXTIMESTAMPTYPE /AWS1/WDXTIMESTAMPTYPE

The timestamp when the content of the document was originally created.

IV_CONTENTMODIFIEDTIMESTAMP TYPE /AWS1/WDXTIMESTAMPTYPE /AWS1/WDXTIMESTAMPTYPE

The timestamp when the content of the document was modified.

IV_CONTENTTYPE TYPE /AWS1/WDXDOCUMENTCONTENTTYPE /AWS1/WDXDOCUMENTCONTENTTYPE

The content type of the document.

IV_DOCUMENTSIZEINBYTES TYPE /AWS1/WDXSIZETYPE /AWS1/WDXSIZETYPE

The size of the document, in bytes.

IV_PARENTFOLDERID TYPE /AWS1/WDXRESOURCEIDTYPE /AWS1/WDXRESOURCEIDTYPE

The ID of the parent folder.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WDXINITIATEDOCVRSUP01 /AWS1/CL_WDXINITIATEDOCVRSUP01