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
Get Report Endpoint
Generates a report in the given formats from a report item previously created and stored in the repository.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetReport/execute
Parameters
Item (required) |
The report item stored in the repository. Type esriFolderItem. |
ReportFormat (required) |
|
f (optional) |
Response format. Type string. Available formats: HTML, JSON, PJSON, XML. Default: HTML. |
token |
Authentication token. This parameter is required if your Business Analyst Server is secured. Type string. |
Returns
Variable of type TaskResultOutput whose Reports array contains ReportInfo items.
NOTE: Since Business Analyst 10.0, the output type of this endpoint is changed.
Remarks
Use Get Available Report Formats lookup operation to query all available report formats.
Example Usage
The example below illustrates a workflow to get a summary report from repository item. This workflow includes a preliminary step of creating summary reports using the Simple Rings endpoint.
{ "results": [ { "paramName":"Age by Income Profile.HTML", "dataType":"GPDataFile", "value": { "url":"http://localhost/arcgisoutput/_ags_T8ECA03E47466797E56B799905D57C.html" } } ], "messages": [ ] }
See Also
• Get Available Report Formats Endpoint