Recently Used Report Types

Get the list of report types used in the 50 reports most recently created by the current user.

Syntax 

URI: /services/data/<latest API version>/analytics/report-types/recent/by-user

Formats: JSON

HTTP Methods

MethodDescription
GETReturns a list of report types used by reports recently created by the current user.

GET Response Body 

The response body is a list of the report types used in reports recently created by the user.

PropertyDescription
describeUrlA URL link to the report type’s metadata.
isCustomReportTypeIndicates whether a report type is custom (true) or not (false).
isHiddenIndicates whether an administrator has hidden the report type (true) or not (false). Hidden report types don’t appear in the report builder when creating a report.
isHistoricalIndicates whether it’s a historical tracking report type (true) or not (false).
labelThe display name of the report type.
lastUsedDateTimestamp when the report type was last used.
supportsJoinedFormatIndicates whether a report type is compatible with joined reports (true) or not (false).
typeThe API name of the report type.

Example 

Sample Request

1analytics/report-types/AccountList/recent-reports?pageSize=3&isCurrentUser=true&offset=3

Sample Response

1[ 
2   {
3      "createdByUser" : "Admin User",
4      "createdDate" : "2021-11-03T17:31:53.000+0000",
5      "id" : "00Oxx0000011ghvEAA",
6      "name" : "New Accounts Report1"
7   }, 
8   {
9      "createdByUser" : "Admin User",
10      "createdDate" : "2021-10-19T17:20:44.000+0000",
11      "id" : "00Oxx0000011gLVEAY",
12      "name" : "Sample Report: # of Accounts"
13   }
14]