DescribeSoqlListViewParams

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

The DescribeSoqlListViewParams object has the following properties:

Name Type Description
developerNameOrId string The list view’s ID or fully qualified developer name.
sobjectType string The API name of the sObject for the list view.