{ "name": "ExportWebMap", "displayName": "Export Web Map", "description": "Returns a printable page layout or basic map of a specified area of interest based on the state of a web app (for example, included services, layer visibility settings, and client-side graphics).", "category": "", "helpUrl": "https://gis.cityofwatertown.org/arcgis/rest/directories/arcgisoutput/geoprocess/Export_WebMap_GPServer/geoprocess_Export_WebMap/ExportWebMap.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "Web_Map_as_JSON", "dataType": "GPString", "displayName": "Web Map as JSON", "description": "A JSON representation of the state of the map that will be exported as it appears in the web app. See the ExportWebMap specification to understand how to format this text. Use ArcGIS API for JavaScript to get this JSON string from the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": "# ", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output File", "description": "The output file name. The extension of the file depends on the Format parameter value.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Layout_Template", "dataType": "GPString", "displayName": "Layout Template", "description": "The name of a template from the list or the keyword MAP_ONLY. When MAP_ONLY is used or an empty string is passed in, the output map will not contain any page layout elements such as title, legend, or scale bar.", "direction": "esriGPParameterDirectionInput", "defaultValue": "MAP_ONLY", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "18x24 Landscape", "18x24 Portrait", "24x36 Landscape", "24x36 Portrait", "Legal Landscape", "Legal Portrait", "Letter Landscape", "Letter Portrait", "MS4", "Tabloid Landscape", "Tabloid Portrait", "MAP_ONLY" ] }, { "name": "Layout_Item_ID", "dataType": "GPString", "displayName": "Layout Item ID", "description": "The portal ID (in JSON format) of the layout item that will be used for templates. Use the format: {\"id\": \"\"}. When a value is provided, this parameter takes precedence over the Layout Template parameter.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Report_Template", "dataType": "GPString", "displayName": "Report Template", "description": "The name of the report template.When this parameter value is provided, the Format parameter must be set to Portable Document Format (PDF). When no value is provided, the output file will not contain any reports.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Report_Item_ID", "dataType": "GPString", "displayName": "Report Item ID", "description": "The portal ID (in JSON format) of the report item that will be used for templates. Use the format: {\"id\": \"\"}. When a value is provided, this parameter takes precedence over the Report Template parameter.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }