getResultsAsArray(data)
Where data is a response object returned by any of the Business Intelligence REST services.
This method returns an array of results from that object as follows:
-
If the response object contains an Result.Filters array, the method returns that array.
-
Otherwise, if the response object contains an Result.FilterMembers array, the method returns that array.
-
Otherwise, if the response object contains an Result.Listings array, the method returns that array.
Otherwise the method returns nothing.