The report list returned by GET v2/reporting/reports is inconsistent with reports returned by DataService.query() SavedFilter table. It looks like the REST endpoint only returns contact saved searches, where the SavedFilter table also holds saved searches for additional reporting objects (like those found in-app under “E-Commerce Reports” – nav.accounting.reports).
Hey @Todd_Stoker, this happens because in REST v2 reports are scoped to the user context. So the GET v2/reporting/reports endpoint only returns the reports that the authenticated user has access to.
For the reports that don’t show up, it’s likely because the user doesn’t have the report shared with them.
You can share the report with the user you’re using or with everyone, following the screenshot below. If you’re authenticating with PAT/SAK, you’ll need to select the Everyone option for it to appear.
Ah, got it – been doing testing with a SAK and didn’t consider access control implications of using a key vs OAuth. Thank you.
1 Like
