Recently Created Reports

Get the list of recently created reports for a particular report type for the current user or any other users.

Syntax 

URI: /services/data/<latest API version>/analytics/report-types/<report-type-API-name>/recent-reports

Formats: JSON

HTTP Methods

MethodDescription
GETReturns a list of recently created reports for a specific report type.

Parameters

ParameterDescription
pageSizeInteger Required for GET calls. Specifies number of recently created reports to return.
isCurrentUserBoolean Optional for GET calls. Specifies if results are limited to current user (true) or all other users (false). Default value is false.
offsetInteger Optional for GET calls. Specifies offset of returned report list. Default value is 0.

GET Response Body 

The response body is a list of the recently created reports for the report type.

PropertyDescription
createdByUserName of user who created report.
createdDateTimestamp of report creation.
idId of report.
nameName of report.

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]