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
| Method | Description |
|---|---|
GET | Returns a list of recently created reports for a specific report type. |
Parameters
| Parameter | Description |
|---|---|
pageSize | Integer Required for GET calls. Specifies number of recently created reports to return. |
isCurrentUser | Boolean Optional for GET calls. Specifies if results are limited to current user (true) or all other users (false). Default value is false. |
offset | Integer 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.
| Property | Description |
|---|---|
createdByUser | Name of user who created report. |
createdDate | Timestamp of report creation. |
id | Id of report. |
name | Name of report. |
Example
Sample Request
1analytics/report-types/AccountList/recent-reports?pageSize=3&isCurrentUser=true&offset=3Sample 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]