Skip to content

/AWS1/CL_LM2=>LISTINTENTPATHS()

About ListIntentPaths

Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:

  • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

  • intentPath – Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate the intentPath field with /BookCar/BookHotel to see details about how many times users invoked the BookCar and BookHotel intents in that order.

Use the optional filters field to filter the results.

Method Signature

IMPORTING

Required arguments:

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The identifier for the bot for which you want to retrieve intent path metrics.

IV_STARTDATETIME TYPE /AWS1/LM2TIMESTAMP /AWS1/LM2TIMESTAMP

The date and time that marks the beginning of the range of time for which you want to see intent path metrics.

IV_ENDDATETIME TYPE /AWS1/LM2TIMESTAMP /AWS1/LM2TIMESTAMP

The date and time that marks the end of the range of time for which you want to see intent path metrics.

IV_INTENTPATH TYPE /AWS1/LM2ANALYTICSPATH /AWS1/LM2ANALYTICSPATH

The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:

  • /BookCar

  • /BookCar/BookHotel

  • /BookHotel/BookCar

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_LM2ALYSPATHFILTER=>TT_ANALYTICSPATHFILTERS TT_ANALYTICSPATHFILTERS

A list of objects, each describes a condition by which you want to filter the results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2LISTINTENTPATHSRSP /AWS1/CL_LM2LISTINTENTPATHSRSP