Skip to content

/AWS1/CL_WIS=>QUERYASSISTANT()

About QueryAssistant

Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.

Method Signature

IMPORTING

Required arguments:

IV_ASSISTANTID TYPE /AWS1/WISUUIDORARN /AWS1/WISUUIDORARN

The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

IV_QUERYTEXT TYPE /AWS1/WISQUERYTEXT /AWS1/WISQUERYTEXT

The text to search for.

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_WISQUERYASSISTANTRSP /AWS1/CL_WISQUERYASSISTANTRSP