/AWS1/IF_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¶
METHODS /AWS1/IF_WDX~UPDATEDOCUMENT
IMPORTING
!IV_AUTHENTICATIONTOKEN TYPE /AWS1/WDXAUTHNTCTNHEADERTYPE OPTIONAL
!IV_DOCUMENTID TYPE /AWS1/WDXRESOURCEIDTYPE OPTIONAL
!IV_NAME TYPE /AWS1/WDXRESOURCENAMETYPE OPTIONAL
!IV_PARENTFOLDERID TYPE /AWS1/WDXRESOURCEIDTYPE OPTIONAL
!IV_RESOURCESTATE TYPE /AWS1/WDXRESOURCESTATETYPE OPTIONAL
RAISING
/AWS1/CX_WDXCONCURRENTMODEX
/AWS1/CX_WDXCNFLCTOPERATIONEX
/AWS1/CX_WDXENTITYALRDYEXEX
/AWS1/CX_WDXENTITYNOTEXISTSEX
/AWS1/CX_WDXFAILEDDEPENDENCYEX
/AWS1/CX_WDXLIMITEXCEEDEDEX
/AWS1/CX_WDXPROHIBITEDSTATEEX
/AWS1/CX_WDXSERVICEUNAVAILEX
/AWS1/CX_WDXUNAUTHDOPERATIONEX
/AWS1/CX_WDXUNAUTHDRESRCACCEX
/AWS1/CX_WDXCLIENTEXC
/AWS1/CX_WDXSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->updatedocument(
iv_authenticationtoken = |string|
iv_documentid = |string|
iv_name = |string|
iv_parentfolderid = |string|
iv_resourcestate = |string|
).