Skip to content

/AWS1/CL_WDX=>UPDATEDOCUMENT()

About UpdateDocument

Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.

Method Signature

IMPORTING

Required arguments:

IV_DOCUMENTID TYPE /AWS1/WDXRESOURCEIDTYPE /AWS1/WDXRESOURCEIDTYPE

The ID of the document.

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_NAME TYPE /AWS1/WDXRESOURCENAMETYPE /AWS1/WDXRESOURCENAMETYPE

The name of the document.

IV_PARENTFOLDERID TYPE /AWS1/WDXRESOURCEIDTYPE /AWS1/WDXRESOURCEIDTYPE

The ID of the parent folder.

IV_RESOURCESTATE TYPE /AWS1/WDXRESOURCESTATETYPE /AWS1/WDXRESOURCESTATETYPE

The resource state of the document. Only ACTIVE and RECYCLED are supported.