B U S I N E S S A N A L Y S T 10.2 R E S T R E P O S I T O R Y U T I L I T Y
Rename Report Template Endpoint
Renames an existing report template.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/RenameReportTemplate/execute
Parameters
TemplateName (required) |
Current report template name. Type string. |
NewTemplateName (required) |
New report template name. Type string. |
ReportType (required) |
Type of report template to rename. Type string |
ActiveDatasetID (optional) |
ID of the active dataset. Type string. |
IsFullErrorMessage (optional) |
Mode for composing error messages. Type boolean Default: False. |
f (optional) |
Response format. Type string. Available formats: HTML, JSON, PJSON, XML. Default: HTML. |
Returns
Variable of type boolean.
Remarks
If the source report template is absent or the target report template already exists, this method has no effect.
Example Usage
The example below renames a report template on Business Analyst Server. In order to demonstrate this method, a new report template is uploaded to Business Analyst Server.
{ "results": [ { "paramName": "OutputStatus", "dataType": "GPBoolean", "value": true } ], "messages": [ ] }
See Also
• Business Analyst Server REST Reference