function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ruparuparuparupa 

Apexでレポートで使用しているオブジェクトの情報を取得したい

お世話になっております。

Apexでレポートで使用しているオブジェクトの情報を取得したいと考えているのですが、
そのようなことは可能でしょうか?

レポートのオブジェクトは下記で、
https://developer.salesforce.com/docs/atlas.ja-jp.192.0.api.meta/api/sforce_api_objects_report.htm

レポートの表示項目や検索項目は下記のReportMetadata クラスで取得すれば良いと考えているのですが、
https://developer.salesforce.com/docs/atlas.ja-jp.apexcode.meta/apexcode/apex_class_reports_reportmetadata.htm

レポートで使用しているオブジェクトはどのように取得すれば良いでしょうか。
ReportType クラスから辿れたりしないのかな、と思ったのですがわかりませんでした。
https://developer.salesforce.com/docs/atlas.ja-jp.apexcode.meta/apexcode/apex_class_reports_reporttype.htm

どうぞよろしくお願い致します。