Deploy a Report
This operation deploys a report.
Path Parameters
- reportId integer required
Id of the report
Responses
- 200
OK
- application/xml
- Deploy report A P I Response
<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("CopySize",true);
sizes.setParameter("id",7);
sizes.setParameter("copyid",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("CopySize",true);
sizes.setParameter("id",7);
sizes.setParameter("copyid",11);
sizes.getParameter("copyid");
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>{
"reportComponents": [
{
"type": "TABLE",
"dataSet": {
"dataSetId": 2513,
"dataSetName": "CopySizeWithDefault",
"dataSetGuid": "b165b5e8-4cae-4edb-b026-d4ad27b5eecd",
"originalDataSetName": "CopySizeWithDefault"
},
"title": {
"text": ""
},
"id": "Table1716353591454",
"pageSize": 20,
"columns": [
{
"dataField": "sys_rowid",
"displayName": "sys_rowid",
"id": "sys_rowid",
"type": "Long",
"origType": "String",
"visible": true,
"hidden": true,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "Data Source",
"displayName": "CommCell",
"id": "DataSource",
"type": "String",
"origType": "String",
"visible": false,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "dataSizeInGB",
"displayName": "dataSizeInGB",
"id": "dataSizeInGB",
"type": "Integer",
"origType": "Integer",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "dataWrittenInGB",
"displayName": "dataWrittenInGB",
"id": "dataWrittenInGB",
"type": "Integer",
"origType": "Integer",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "requiresBackupsOnOrAfterDate",
"displayName": "requiresBackupsOnOrAfterDate",
"id": "requiresBackupsOnOrAfterDate",
"type": "Boolean",
"origType": "Boolean",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "oldestJobStartTime",
"displayName": "oldestJobStartTime",
"id": "oldestJobStartTime",
"type": "Integer",
"origType": "Integer",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "storagePolicyName",
"displayName": "storagePolicyName",
"id": "storagePolicyName",
"type": "String",
"origType": "String",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "storagePolicyId",
"displayName": "storagePolicyId",
"id": "storagePolicyId",
"type": "Integer",
"origType": "Integer",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "copyId",
"displayName": "copyId",
"id": "copyId",
"type": "Integer",
"origType": "Integer",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
},
{
"dataField": "copyName",
"displayName": "copyName",
"id": "copyName",
"type": "String",
"origType": "String",
"visible": true,
"hidden": false,
"aggrType": "None",
"mobileOptions": {
"visible": true,
"viewOnList": true,
"viewOnDetail": true
}
}
],
"allColumns": true,
"dataSetName": "",
"styles": {
"chartPlotOptions": {
"isShowGridlines": true,
"isSmoothLines": true,
"isShowLineMarkers": true,
"autoConvertYValues": true,
"isShowLabels": false,
"legendPosition": "right"
}
},
"mobile": {
"visible": "On",
"listItemClick": {},
"customListLayout": null
},
"hideComponent": false,
"blankComponent": false,
"filters": {
"builder": {},
"viewer": {}
},
"showFilterByDefault": false,
"orientation": "vertical",
"visible": {},
"enableHorizontalScroll": false
},
{
"type": "TABLE",
"dataSet": {
"dataSetName": "test",
"dataSetGuid": "0cd74169-02bd-4745-9f14-94994c214387",
"originalDataSetName": "test"
},
"title": {
"text": ""
},
"id": "Table1717398322310",
"pageSize": 20,
"columns": [],
"allColumns": true,
"dataSetName": "",
"styles": {
"chartPlotOptions": {
"isShowGridlines": true,
"isSmoothLines": true,
"isShowLineMarkers": true,
"autoConvertYValues": true,
"isShowLabels": false,
"legendPosition": "right"
}
},
"mobile": {
"visible": "On",
"listItemClick": {},
"customListLayout": null
},
"hideComponent": false,
"blankComponent": false,
"filters": {
"builder": {},
"viewer": {}
},
"showFilterByDefault": false,
"visible": {},
"orientation": "vertical"
}
],
"filters": {
"builder": {},
"viewer": {}
},
"autoRefreshTime": 10,
"reportLayout": {
"gridsterOpts": {
"columns": 12
},
"Table1716353591454": {
"mobile": {
"size": {
"x": 4,
"y": 8
},
"position": [
0,
0
]
},
"tablet": {
"size": {
"x": 4,
"y": 8
},
"position": [
0,
0
]
},
"desktop": {
"size": {
"x": 12,
"y": 3
},
"position": [
0,
0
]
}
},
"Table1717398322310": {
"mobile": {
"size": {
"x": 4,
"y": 8
},
"position": [
3,
0
]
},
"tablet": {
"size": {
"x": 4,
"y": 8
},
"position": [
3,
0
]
},
"desktop": {
"size": {
"x": 12,
"y": 3
},
"position": [
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...