Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Build the Resource URL
When building a URL, start with your My Domain login URL. To get your My Domain name, use the getMyDomainName() Apex method. You can also find your full My Domain login URL on the My Domain page in Setup.
1https://MyDomainName---my.salesforce.com.rproxy.goskope.comThen add the version information:
1/services/data/vThen add the resource:
1/analytics/reportsPut together, the full URL is:
1https://MyDomainName.my.salesforce.com/services/data/v67.0/analytics/reportsSome resources, such as notifications, often require one or more URL parameters without which API requests return an error:
1https://MyDomainName.my.salesforce.com/services/data/v67.0/analytics/notifications?source=lightningReportSubscribe