Newer Version Available
Clone Reports
Creates a copy of a custom, standard, or public report by sending a POST request to
the Report List resource.
Example
You want to clone report 00OD0000001cxIE and name the cloned report as "myNewReport."
This POST request /services/data/v34.0/analytics/reports?cloneId=00OD0000001cxIE to the Report List resource clones the report.
1{ "reportMetadata" :
2 {"name":"myNewReport"}
3}The response to the POST request returns the following details about the cloned report.
1{
2 "reportExtendedMetadata" : {
3 ...
4 },
5 "reportMetadata" : {
6 "aggregates" : [ "RowCount" ],
7 "currency" : null,
8 "detailColumns" : [
9 "USERS.NAME",
10 "ACCOUNT.NAME",
11 "TYPE",
12 "DUE_DATE",
13 "LAST_UPDATE",
14 "ADDRESS1_STATE" ],
15 "developerName" : "myreport2",
16 "division" : null,
17 "folderId" : "005D0000001UlszIAC",
18 "groupingsAcross" : [ ],
19 "groupingsDown" : [ ],
20 "hasDetailRows" : true,
21 "hasRecordCount" : true,
22 "historicalSnapshotDates" : [ ],
23 "id" : "00OD0000001jabSMAQ",
24 "name" : "myNewReport",
25 "reportBooleanFilter" : null,
26 "reportFilters" : [ ],
27 "reportFormat" : "TABULAR",
28 "reportType" : {
29 "label" : "Accounts",
30 "type" : "AccountList" },
31 "scope" : "user",
32 "sortBy" : [ ],
33 "standardDateFilter" : {
34 "column" : "CREATED_DATE",
35 "durationValue" : "CUSTOM",
36 "endDate" : null,
37 "startDate" : null },
38 "standardFilters" : null },
39 "reportTypeMetadata" : {
40 ...
41 }
42}