Skip to content

/AWS1/CL_AFB=>SEARCHDEVICES()

About SearchDevices

Searches devices and lists the ones that meet a set of filter criteria.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/AFBNEXTTOKEN /AWS1/AFBNEXTTOKEN

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

IV_MAXRESULTS TYPE /AWS1/AFBMAXRESULTS /AWS1/AFBMAXRESULTS

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

IT_FILTERS TYPE /AWS1/CL_AFBFILTER=>TT_FILTERLIST TT_FILTERLIST

The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.

IT_SORTCRITERIA TYPE /AWS1/CL_AFBSORT=>TT_SORTLIST TT_SORTLIST

The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AFBSEARCHDEVICESRSP /AWS1/CL_AFBSEARCHDEVICESRSP