FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<report-url>/generate |
---|---|
Parent Resource | Report |
Parameter | Details |
---|---|
f | Description: The response format. The default response format is html. Values: html | json | file This parameter must be set to file for 10.1 onwards in order to receive the raw HTML content of the generated report,
not wrapped in JSON.
|
user | Required Description: The username of the client. |
timeZoneOffset | Description: The time zone offset from UTC (in minutes) of the client's system. This parameter affects the formatting of date/time values within a report. |
Example 1: URL to generate a formatted report and return the HTML content wrapped in a JSON payload.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/reports/3/generate?user=cjones&f=jsonExample 2: 10.0 URL to generate a formatted report and return the raw HTML content.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/reports/3/generate?user=cjones&f=htmlExample 3: 10.1 URL to generate a formatted report and return the raw HTML content.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/reports/3/generate?user=cjones&f=file{ "reportContent": "<reportContent>" }
{ "reportContent": "<html><body>...</body></html>" }