Skip to content

/AWS1/CL_WIS=>SEARCHCONTENT()

About SearchContent

Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.

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.

IO_SEARCHEXPRESSION TYPE REF TO /AWS1/CL_WISSEARCHEXPRESSION /AWS1/CL_WISSEARCHEXPRESSION

The search expression to filter results.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/WISNEXTTOKEN /AWS1/WISNEXTTOKEN

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

IV_MAXRESULTS TYPE /AWS1/WISMAXRESULTS /AWS1/WISMAXRESULTS

The maximum number of results to return per page.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WISSEARCHCONTENTRSP /AWS1/CL_WISSEARCHCONTENTRSP