Skip to content

/AWS1/CL_LM2=>LISTBOTLOCALES()

About ListBotLocales

Gets a list of locales for the specified bot.

Method Signature

IMPORTING

Required arguments:

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The identifier of the bot to list locales for.

IV_BOTVERSION TYPE /AWS1/LM2BOTVERSION /AWS1/LM2BOTVERSION

The version of the bot to list locales for.

Optional arguments:

IO_SORTBY TYPE REF TO /AWS1/CL_LM2BOTLOCALESORTBY /AWS1/CL_LM2BOTLOCALESORTBY

Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.

IT_FILTERS TYPE /AWS1/CL_LM2BOTLOCALEFILTER=>TT_BOTLOCALEFILTERS TT_BOTLOCALEFILTERS

Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.

IV_MAXRESULTS TYPE /AWS1/LM2MAXRESULTS /AWS1/LM2MAXRESULTS

The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

IV_NEXTTOKEN TYPE /AWS1/LM2NEXTTOKEN /AWS1/LM2NEXTTOKEN

If the response from the ListBotLocales operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token as the nextToken parameter to return the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2LISTBOTLOCALESRSP /AWS1/CL_LM2LISTBOTLOCALESRSP