Skip to content

/AWS1/CL_FDT=>LISTEVENTPREDICTIONS()

About ListEventPredictions

Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned.

For example, the following filter lists all past predictions for xyz event type - { "eventType":{ "value": "xyz" }” }

This is a paginated API. If you provide a null maxResults, this action will retrieve a maximum of 10 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the nextToken from the response as part of your request. A null nextToken fetches the records from the beginning.

Method Signature

IMPORTING

Optional arguments:

IO_EVENTID TYPE REF TO /AWS1/CL_FDTFILTERCONDITION /AWS1/CL_FDTFILTERCONDITION

The event ID.

IO_EVENTTYPE TYPE REF TO /AWS1/CL_FDTFILTERCONDITION /AWS1/CL_FDTFILTERCONDITION

The event type associated with the detector.

IO_DETECTORID TYPE REF TO /AWS1/CL_FDTFILTERCONDITION /AWS1/CL_FDTFILTERCONDITION

The detector ID.

IO_DETECTORVERSIONID TYPE REF TO /AWS1/CL_FDTFILTERCONDITION /AWS1/CL_FDTFILTERCONDITION

The detector version ID.

IO_PREDICTIONTIMERANGE TYPE REF TO /AWS1/CL_FDTPREDICTIONTIMERA00 /AWS1/CL_FDTPREDICTIONTIMERA00

The time period for when the predictions were generated.

IV_NEXTTOKEN TYPE /AWS1/FDTSTRING /AWS1/FDTSTRING

Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.

IV_MAXRESULTS TYPE /AWS1/FDTEVTPREDICTIONSMAXRSS /AWS1/FDTEVTPREDICTIONSMAXRSS

The maximum number of predictions to return for the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FDTLSTEVTPREDICTION01 /AWS1/CL_FDTLSTEVTPREDICTION01