Skip to content

/AWS1/CL_WDX=>CREATECOMMENT()

About CreateComment

Adds a new comment to the specified document version.

Method Signature

IMPORTING

Required arguments:

IV_DOCUMENTID TYPE /AWS1/WDXRESOURCEIDTYPE /AWS1/WDXRESOURCEIDTYPE

The ID of the document.

IV_VERSIONID TYPE /AWS1/WDXDOCUMENTVERSIONIDTYPE /AWS1/WDXDOCUMENTVERSIONIDTYPE

The ID of the document version.

IV_TEXT TYPE /AWS1/WDXCOMMENTTEXTTYPE /AWS1/WDXCOMMENTTEXTTYPE

The text of the comment.

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_PARENTID TYPE /AWS1/WDXCOMMENTIDTYPE /AWS1/WDXCOMMENTIDTYPE

The ID of the parent comment.

IV_THREADID TYPE /AWS1/WDXCOMMENTIDTYPE /AWS1/WDXCOMMENTIDTYPE

The ID of the root comment in the thread.

IV_VISIBILITY TYPE /AWS1/WDXCOMMENTVISIBILITYTYPE /AWS1/WDXCOMMENTVISIBILITYTYPE

The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

IV_NOTIFYCOLLABORATORS TYPE /AWS1/WDXBOOLEANTYPE /AWS1/WDXBOOLEANTYPE

Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WDXCREATECOMMENTRSP /AWS1/CL_WDXCREATECOMMENTRSP