Clone report template

Clones an existing report template with new properties from the model and returns the cloned report template.

URL

POST    /api/v1/templates/{id}/clone

Optional parameters

Parameter can be passed in URL as ?param=value or form-encoded in the request body.

Name

Values

Default

Function

format

json/xml

xml

Determines the data format of the resulting list (JSON or XML).

 

Request Body Schema (JSON)

Name

Values

Default

Function

Name

string

string

Name of the cloned report (necessary).

Description

string/null

string

Description of the cloned report. If the value is null, it is carried over as an empty description in the new template.

Default Export Config

string/null

string

The default export configuration for the cloned report. If the value is null, the values from the original report template are used.

MaxCacheTime

string/null

string

The maximum time this report is cached. If the value is null, the values from the original report template are used.

 

Result

An array of the type ReportTemplateEntry (see below) will be returned.

For error codes, see General error codes

 

Result type: ReportTemplateEntry

As XML

<?xml version="1.0" encoding="utf-16"?>

<ReportTemplateEntry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <ID>57BF26A7-20A9-4FB7-B312-C439DD3D63DB</ID>

    <Name>clone</Name>

    <ExportLink>https://reportserver/api/v1/report/57BF26A7-20A9-4FB7-B312-C439DD3D63DB/export</ExportLink>

    <HasParameters>true</HasParameters>

    <CreatedBy>api</CreatedBy>

    <CreatedOnUTC>2026-09-10T07:36:19</CreatedOnUTC>

    <ModifiedBy>api</ModifiedBy>

    <ModifiedOnUTC>2026-09-10T07:36:19</ModifiedOnUTC>

    <ProjectType>List</ProjectType>

    <DefaultExportProfileID>A8DC0C0C-A4FB-44C6-B058-0543BE8CE311</DefaultExportProfileID>

    <MaxCacheTime>00:10:00</MaxCacheTime>

    <ParentFolderID>85AB7DEF-09F1-49D5-84E2-97188294425A</ParentFolderID>

</ReportTemplateEntry>

 

As JSON

{

    "ID": "6811A97F-97C6-4700-80BB-69720012E27E",

    "Name": "clone",

    "ExportLink": "https://reportserver/api/v1/report/6811A97F-97C6-4700-80BB-69720012E27E/export",

    "HasParameters": true,

    "CreatedBy": "api",

    "CreatedOnUTC": "2026-09-10T07:35:09",

    "ModifiedBy": "api",

    "ModifiedOnUTC": "2026-09-10T07:35:09",

    "ProjectType": "List",

    "DefaultExportProfileID": "A8DC0C0C-A4FB-44C6-B058-0543BE8CE311",

    "MaxCacheTime": "00:10:00",

    "ParentFolderID": "85AB7DEF-09F1-49D5-84E2-97188294425A"

}