DescribeSoqlListViewParams

Use the DescribeSoqlListViewParams object with describeSoqlListViews() to retrieve the SOQL from a list view.

The DescribeSoqlListViewParams object has the following properties:

NameTypeDescription
developerNameOrIdstringThe list view’s ID or fully qualified developer name.
sobjectTypestringThe API name of the sObject for the list view.