Skip to content

/AWS1/CL_LM2=>BATCHCRECUSTVOCABULARYITEM()

About BatchCreateCustomVocabularyItem

Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.

Method Signature

IMPORTING

Required arguments:

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The identifier of the bot associated with this custom vocabulary.

IV_BOTVERSION TYPE /AWS1/LM2BOTVERSION /AWS1/LM2BOTVERSION

The identifier of the version of the bot associated with this custom vocabulary.

IV_LOCALEID TYPE /AWS1/LM2LOCALEID /AWS1/LM2LOCALEID

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

IT_CUSTOMVOCABULARYITEMLIST TYPE /AWS1/CL_LM2NEWCUSTVOCABULAR00=>TT_CRECUSTVOCABULARYITEMSLIST TT_CRECUSTVOCABULARYITEMSLIST

A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2BTCCRECUSTVOCABU01 /AWS1/CL_LM2BTCCRECUSTVOCABU01