Skip to content

/AWS1/CL_WIS=>CREATECONTENT()

About CreateContent

Creates Wisdom content. Before to calling this API, use StartContentUpload to upload an asset.

Method Signature

IMPORTING

Required arguments:

IV_KNOWLEDGEBASEID TYPE /AWS1/WISUUIDORARN /AWS1/WISUUIDORARN

The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

IV_NAME TYPE /AWS1/WISNAME /AWS1/WISNAME

The name of the content. Each piece of content in a knowledge base must have a unique name. You can retrieve a piece of content using only its knowledge base and its name with the SearchContent API.

IV_UPLOADID TYPE /AWS1/WISUPLOADID /AWS1/WISUPLOADID

A pointer to the uploaded asset. This value is returned by StartContentUpload.

Optional arguments:

IV_TITLE TYPE /AWS1/WISCONTENTTITLE /AWS1/WISCONTENTTITLE

The title of the content. If not set, the title is equal to the name.

IV_OVERRIDELINKOUTURI TYPE /AWS1/WISURI /AWS1/WISURI

The URI you want to use for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content.

IT_METADATA TYPE /AWS1/CL_WISCONTENTMETADATA_W=>TT_CONTENTMETADATA TT_CONTENTMETADATA

A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

IV_CLIENTTOKEN TYPE /AWS1/WISNONEMPTYSTRING /AWS1/WISNONEMPTYSTRING

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

IT_TAGS TYPE /AWS1/CL_WISTAGS_W=>TT_TAGS TT_TAGS

The tags used to organize, track, or control access for this resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WISCREATECONTENTRSP /AWS1/CL_WISCREATECONTENTRSP