Skip to main content

Deploy a Report

This operation deploys a report.

Path Parameters
  • reportId integer required

    Id of the report

Responses

OK


<commvault.web.reportsplus.common.dto.DeployReportResponse>
<report>
<report>
<customReportId>338</customReportId>
<customReportName>Test_DataSet - Copy </customReportName>
</report>
<pages>
<Page>
<pageName>Page0</pageName>
<isDefault>true</isDefault>
<pageTitle>
<text>Page0</text>
</pageTitle>
<dataSets>
<dataSet>
<DataSet>
<dataSet>
<dataSetId>2325</dataSetId>
<dataSetName>CopySize</dataSetName>
<dataSetGuid>b165b5e8-4cae-4edb-b026-d4ad27b5eecd</dataSetGuid>
</dataSet>
<endpoint>HTTP</endpoint>
<shared>false</shared>
<dataSources>
<DataSource>
<connectionType>COMMCELL</connectionType>
<endpoint>HTTP</endpoint>
<commCell>
<commCellName>$LocalCommCell$</commCellName>
</commCell>
</DataSource>
</dataSources>
<allColumns>false</allColumns>
<fields>
<Column>
<name>sys_rowid</name>
<dataField>$row_number$</dataField>
<type>String</type>
</Column>
<Column>
<name>Data Source</name>
<dataField>Data Source</dataField>
<type>String</type>
</Column>
<Column>
<name>dataSizeInGB</name>
<dataField>dataSizeInGB</dataField>
<type>Integer</type>
</Column>
<Column>
<name>dataWrittenInGB</name>
<dataField>dataWrittenInGB</dataField>
<type>Integer</type>
</Column>
<Column>
<name>requiresBackupsOnOrAfterDate</name>
<dataField>requiresBackupsOnOrAfterDate</dataField>
<type>Boolean</type>
</Column>
<Column>
<name>oldestJobStartTime</name>
<dataField>oldestJobStartTime</dataField>
<type>Integer</type>
</Column>
<Column>
<name>storagePolicyName</name>
<dataField>spCopy.storagePolicyName</dataField>
<type>String</type>
</Column>
<Column>
<name>copyId</name>
<dataField>spCopy.copyId</dataField>
<type>Integer</type>
</Column>
<Column>
<name>copyName</name>
<dataField>spCopy.copyName</dataField>
<type>String</type>
</Column>
<Column>
<name>storagePolicyId</name>
<dataField>spCopy.storagePolicyId</dataField>
<type>Integer</type>
</Column>
</fields>
<GetOperation>
<parameters>
<Parameter>
<name>id</name>
<dataType>Integer</dataType>
<isList>false</isList>
<values/>
<required>false</required>
</Parameter>
<Parameter>
<name>copyid</name>
<dataType>Integer</dataType>
<isList>false</isList>
<values/>
<required>false</required>
</Parameter>
</parameters>
<httpContent></httpContent>
<httpContentType>application/xml; charset=UTF-8</httpContentType>
<restApi>/v2/Storagepolicy/@id/Copy/@copyid/Size</restApi>
<method>GET</method>
<headers>
<commvault.msgs.web.ReportPlus.NameValuePair>
<name>Accept</name>
<value>application/json</value>
</commvault.msgs.web.ReportPlus.NameValuePair>
</headers>
<urlParameters/>
<timeout>5</timeout>
<postQueryFilter>true</postQueryFilter>
<rowExpression>copyInfo</rowExpression>
<rDataSetQuery></rDataSetQuery>
<rPlotQuery></rPlotQuery>
</GetOperation>
<description></description>
<queryPlan>
<offline>false</offline>
<collectionType>HTTP</collectionType>
<retentionDays>1</retentionDays>
<versions>
<CommCellVersion>ALL</CommCellVersion>
</versions>
<dynamicCollection>false</dynamicCollection>
<frequency>60</frequency>
<direct>true</direct>
</queryPlan>
<version>1</version>
<guid>b165b5e8-4cae-4edb-b026-d4ad27b5eecd</guid>
<hidden>true</hidden>
<revision></revision>
<computedColumns>
<scriptName>R</scriptName>
<script></script>
<columnList/>
</computedColumns>
<signature></signature>
</DataSet>
<DataSet>
<dataSet>
<dataSetId>2326</dataSetId>
<dataSetName>UseCopySize</dataSetName>
<dataSetGuid>2c379a94-320b-493d-c782-a6de44477712</dataSetGuid>
</dataSet>
<endpoint>SCRIPT</endpoint>
<shared>false</shared>
<dataSources>
<DataSource>
<connectionType>COMMCELL</connectionType>
<commCell>
<commCellName>$LocalCommCell$</commCellName>
</commCell>
</DataSource>
</dataSources>
<allColumns>false</allColumns>
<fields/>
<GetOperation>
<parameters/>
<sqlText>var sizes = DataSet.getInstance(&quot;CopySize&quot;,true);
sizes.setParameter(&quot;id&quot;,7);
sizes.setParameter(&quot;copyid&quot;,11);
sizes.respond();
provider.throwError(JSON.stringify(sizes.getData()));</sqlText>
<timeout>5</timeout>
<postQueryFilter>true</postQueryFilter>
<rDataSetQuery></rDataSetQuery>
<rPlotQuery></rPlotQuery>
</GetOperation>
<description></description>
<databaseName>CommServ</databaseName>
<queryPlan>
<offline>false</offline>
<collectionType>HTTP</collectionType>
<retentionDays>1</retentionDays>
<versions>
<CommCellVersion>ALL</CommCellVersion>
</versions>
<dynamicCollection>false</dynamicCollection>
<frequency>60</frequency>
<direct>true</direct>
</queryPlan>
<version>1</version>
<guid>2c379a94-320b-493d-c782-a6de44477712</guid>
<revision></revision>
<signature></signature>
</DataSet>
<DataSet>
<dataSet>
<dataSetId>2327</dataSetId>
<dataSetName>test</dataSetName>
<dataSetGuid>0cd74169-02bd-4745-9f14-94994c214387</dataSetGuid>
</dataSet>
<endpoint>SCRIPT</endpoint>
<shared>false</shared>
<dataSources>
<DataSource>
<connectionType>COMMCELL</connectionType>
<commCell>
<commCellName>$LocalCommCell$</commCellName>
</commCell>
</DataSource>
</dataSources>
<allColumns>false</allColumns>
<fields/>
<GetOperation>
<parameters/>
<sqlText>var sizes = DataSet.getInstance(&quot;CopySize&quot;,true);
sizes.setParameter(&quot;id&quot;,7);
sizes.setParameter(&quot;copyid&quot;,11);
sizes.getParameter(&quot;copyid&quot;);

sizes.respond();
provider.throwError(JSON.stringify(sizes.getData()));</sqlText>
<timeout>5</timeout>
<postQueryFilter>true</postQueryFilter>
<rDataSetQuery></rDataSetQuery>
<rPlotQuery></rPlotQuery>
</GetOperation>
<description></description>
<databaseName>CommServ</databaseName>
<queryPlan>
<offline>false</offline>
<collectionType>HTTP</collectionType>
<retentionDays>1</retentionDays>
<versions>
<CommCellVersion>ALL</CommCellVersion>
</versions>
<dynamicCollection>false</dynamicCollection>
<frequency>60</frequency>
<direct>true</direct>
</queryPlan>
<version>1</version>
<guid>0cd74169-02bd-4745-9f14-94994c214387</guid>
<revision></revision>
<signature></signature>
</DataSet>
</dataSet>
</dataSets>
<inputs>
<RptInput>
<id>Spid</id>
<displayName>Storage Policy ID</displayName>
<defaultValue></defaultValue>
<type>Integer</type>
<controlType>TextBox</controlType>
<required>false</required>
<fromDataSet>false</fromDataSet>
<dependsOn/>
<relativeOptions/>
</RptInput>
<RptInput>
<id>CopyId</id>
<displayName>Copy ID</displayName>
<type>Integer</type>
<controlType>TextBox</controlType>
<required>false</required>
<fromDataSet>false</fromDataSet>
<dependsOn/>
<relativeOptions/>
</RptInput>
</inputs>
<body>{
&quot;reportComponents&quot;: [
{
&quot;type&quot;: &quot;TABLE&quot;,
&quot;dataSet&quot;: {
&quot;dataSetId&quot;: 2513,
&quot;dataSetName&quot;: &quot;CopySizeWithDefault&quot;,
&quot;dataSetGuid&quot;: &quot;b165b5e8-4cae-4edb-b026-d4ad27b5eecd&quot;,
&quot;originalDataSetName&quot;: &quot;CopySizeWithDefault&quot;
},
&quot;title&quot;: {
&quot;text&quot;: &quot;&quot;
},
&quot;id&quot;: &quot;Table1716353591454&quot;,
&quot;pageSize&quot;: 20,
&quot;columns&quot;: [
{
&quot;dataField&quot;: &quot;sys_rowid&quot;,
&quot;displayName&quot;: &quot;sys_rowid&quot;,
&quot;id&quot;: &quot;sys_rowid&quot;,
&quot;type&quot;: &quot;Long&quot;,
&quot;origType&quot;: &quot;String&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: true,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;Data Source&quot;,
&quot;displayName&quot;: &quot;CommCell&quot;,
&quot;id&quot;: &quot;DataSource&quot;,
&quot;type&quot;: &quot;String&quot;,
&quot;origType&quot;: &quot;String&quot;,
&quot;visible&quot;: false,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;dataSizeInGB&quot;,
&quot;displayName&quot;: &quot;dataSizeInGB&quot;,
&quot;id&quot;: &quot;dataSizeInGB&quot;,
&quot;type&quot;: &quot;Integer&quot;,
&quot;origType&quot;: &quot;Integer&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;dataWrittenInGB&quot;,
&quot;displayName&quot;: &quot;dataWrittenInGB&quot;,
&quot;id&quot;: &quot;dataWrittenInGB&quot;,
&quot;type&quot;: &quot;Integer&quot;,
&quot;origType&quot;: &quot;Integer&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;requiresBackupsOnOrAfterDate&quot;,
&quot;displayName&quot;: &quot;requiresBackupsOnOrAfterDate&quot;,
&quot;id&quot;: &quot;requiresBackupsOnOrAfterDate&quot;,
&quot;type&quot;: &quot;Boolean&quot;,
&quot;origType&quot;: &quot;Boolean&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;oldestJobStartTime&quot;,
&quot;displayName&quot;: &quot;oldestJobStartTime&quot;,
&quot;id&quot;: &quot;oldestJobStartTime&quot;,
&quot;type&quot;: &quot;Integer&quot;,
&quot;origType&quot;: &quot;Integer&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;storagePolicyName&quot;,
&quot;displayName&quot;: &quot;storagePolicyName&quot;,
&quot;id&quot;: &quot;storagePolicyName&quot;,
&quot;type&quot;: &quot;String&quot;,
&quot;origType&quot;: &quot;String&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;storagePolicyId&quot;,
&quot;displayName&quot;: &quot;storagePolicyId&quot;,
&quot;id&quot;: &quot;storagePolicyId&quot;,
&quot;type&quot;: &quot;Integer&quot;,
&quot;origType&quot;: &quot;Integer&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;copyId&quot;,
&quot;displayName&quot;: &quot;copyId&quot;,
&quot;id&quot;: &quot;copyId&quot;,
&quot;type&quot;: &quot;Integer&quot;,
&quot;origType&quot;: &quot;Integer&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
},
{
&quot;dataField&quot;: &quot;copyName&quot;,
&quot;displayName&quot;: &quot;copyName&quot;,
&quot;id&quot;: &quot;copyName&quot;,
&quot;type&quot;: &quot;String&quot;,
&quot;origType&quot;: &quot;String&quot;,
&quot;visible&quot;: true,
&quot;hidden&quot;: false,
&quot;aggrType&quot;: &quot;None&quot;,
&quot;mobileOptions&quot;: {
&quot;visible&quot;: true,
&quot;viewOnList&quot;: true,
&quot;viewOnDetail&quot;: true
}
}
],
&quot;allColumns&quot;: true,
&quot;dataSetName&quot;: &quot;&quot;,
&quot;styles&quot;: {
&quot;chartPlotOptions&quot;: {
&quot;isShowGridlines&quot;: true,
&quot;isSmoothLines&quot;: true,
&quot;isShowLineMarkers&quot;: true,
&quot;autoConvertYValues&quot;: true,
&quot;isShowLabels&quot;: false,
&quot;legendPosition&quot;: &quot;right&quot;
}
},
&quot;mobile&quot;: {
&quot;visible&quot;: &quot;On&quot;,
&quot;listItemClick&quot;: {},
&quot;customListLayout&quot;: null
},
&quot;hideComponent&quot;: false,
&quot;blankComponent&quot;: false,
&quot;filters&quot;: {
&quot;builder&quot;: {},
&quot;viewer&quot;: {}
},
&quot;showFilterByDefault&quot;: false,
&quot;orientation&quot;: &quot;vertical&quot;,
&quot;visible&quot;: {},
&quot;enableHorizontalScroll&quot;: false
},
{
&quot;type&quot;: &quot;TABLE&quot;,
&quot;dataSet&quot;: {
&quot;dataSetName&quot;: &quot;test&quot;,
&quot;dataSetGuid&quot;: &quot;0cd74169-02bd-4745-9f14-94994c214387&quot;,
&quot;originalDataSetName&quot;: &quot;test&quot;
},
&quot;title&quot;: {
&quot;text&quot;: &quot;&quot;
},
&quot;id&quot;: &quot;Table1717398322310&quot;,
&quot;pageSize&quot;: 20,
&quot;columns&quot;: [],
&quot;allColumns&quot;: true,
&quot;dataSetName&quot;: &quot;&quot;,
&quot;styles&quot;: {
&quot;chartPlotOptions&quot;: {
&quot;isShowGridlines&quot;: true,
&quot;isSmoothLines&quot;: true,
&quot;isShowLineMarkers&quot;: true,
&quot;autoConvertYValues&quot;: true,
&quot;isShowLabels&quot;: false,
&quot;legendPosition&quot;: &quot;right&quot;
}
},
&quot;mobile&quot;: {
&quot;visible&quot;: &quot;On&quot;,
&quot;listItemClick&quot;: {},
&quot;customListLayout&quot;: null
},
&quot;hideComponent&quot;: false,
&quot;blankComponent&quot;: false,
&quot;filters&quot;: {
&quot;builder&quot;: {},
&quot;viewer&quot;: {}
},
&quot;showFilterByDefault&quot;: false,
&quot;visible&quot;: {},
&quot;orientation&quot;: &quot;vertical&quot;
}
],
&quot;filters&quot;: {
&quot;builder&quot;: {},
&quot;viewer&quot;: {}
},
&quot;autoRefreshTime&quot;: 10,
&quot;reportLayout&quot;: {
&quot;gridsterOpts&quot;: {
&quot;columns&quot;: 12
},
&quot;Table1716353591454&quot;: {
&quot;mobile&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 4,
&quot;y&quot;: 8
},
&quot;position&quot;: [
0,
0
]
},
&quot;tablet&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 4,
&quot;y&quot;: 8
},
&quot;position&quot;: [
0,
0
]
},
&quot;desktop&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 12,
&quot;y&quot;: 3
},
&quot;position&quot;: [
0,
0
]
}
},
&quot;Table1717398322310&quot;: {
&quot;mobile&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 4,
&quot;y&quot;: 8
},
&quot;position&quot;: [
3,
0
]
},
&quot;tablet&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 4,
&quot;y&quot;: 8
},
&quot;position&quot;: [
3,
0
]
},
&quot;desktop&quot;: {
&quot;size&quot;: {
&quot;x&quot;: 12,
&quot;y&quot;: 3
},
&quot;position&quot;: [
3,
0
]
}
}
}
}</body>
<visible/>
</Page>
</pages>
<reportVersion>1</reportVersion>
<deployedVersion>1</deployedVersion>
<reportDescription></reportDescription>
<guid>924026ab-0abe-4e32-8f0b-62314ead80ee</guid>
<revision>$Revision: $</revision>
<icon>vertical-bar.png</icon>
<customIcon/>
<hidden>false</hidden>
<visibleAll>false</visibleAll>
<readOnly>false</readOnly>
<shareable>false</shareable>
<engineVersion>1</engineVersion>
<builderVersion>2</builderVersion>
<translations>
<Translations>
<locale>default</locale>
<localeKey>RPT_TITLE</localeKey>
<localeValue>Test_DataSet - Copy </localeValue>
</Translations>
<Translations>
<locale>default</locale>
<localeKey>RPT_DESCRIPTION</localeKey>
<localeValue></localeValue>
</Translations>
<Translations>
<locale>default</locale>
<localeKey>Enter Copy ID</localeKey>
<localeValue>Enter Copy ID</localeValue>
</Translations>
</translations>
<cvTranslations/>
<minCommCellVersion>
<releaseID>16</releaseID>
<servicePack>0</servicePack>
</minCommCellVersion>
<maxCommCellVersion>
<releaseID>100</releaseID>
<servicePack>99</servicePack>
</maxCommCellVersion>
<userReportId>Test_DataSet - Copy </userReportId>
<type>STANDARD</type>
<canEdit>true</canEdit>
<visibleToTenantAdmins>false</visibleToTenantAdmins>
<builtIn>false</builtIn>
<systemReport>false</systemReport>
<isMetrics>false</isMetrics>
</report>
<dataSets>
<commvault.web.reportsplus.common.dto.DeployDataSetResponse>
<dataSet>
<dataSetId>2325</dataSetId>
<dataSetName>CopySize</dataSetName>
<dataSetGuid>b165b5e8-4cae-4edb-b026-d4ad27b5eecd</dataSetGuid>
</dataSet>
<queryId>0</queryId>
</commvault.web.reportsplus.common.dto.DeployDataSetResponse>
<commvault.web.reportsplus.common.dto.DeployDataSetResponse>
<dataSet>
<dataSetId>2326</dataSetId>
<dataSetName>UseCopySize</dataSetName>
<dataSetGuid>2c379a94-320b-493d-c782-a6de44477712</dataSetGuid>
</dataSet>
<queryId>0</queryId>
</commvault.web.reportsplus.common.dto.DeployDataSetResponse>
<commvault.web.reportsplus.common.dto.DeployDataSetResponse>
<dataSet>
<dataSetId>2327</dataSetId>
<dataSetName>test</dataSetName>
<dataSetGuid>0cd74169-02bd-4745-9f14-94994c214387</dataSetGuid>
</dataSet>
<queryId>0</queryId>
</commvault.web.reportsplus.common.dto.DeployDataSetResponse>
</dataSets>
</commvault.web.reportsplus.common.dto.DeployReportResponse>
Loading...