{ "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://maps.co.lincoln.wi.us/arcgis/rest/directories/arcgisoutput/ExportWebMap_GPServer/ExportWebMap/ExportWebMap.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Web_Map_as_JSON", "dataType": "GPString", "displayName": "Web Map as JSON", "description": "A JSON representation of the state of the map to be exported as it appears in the web app. See the ExportWebMap specification to understand how to format this text. ArcGIS API for JavaScript allows you 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": "Format", "dataType": "GPString", "displayName": "Format", "description": "Specifies the format in which the map image for printing will be delivered.8-bit Portable Network Graphics (PNG8)\u20148-bit Portable Network Graphics (PNG8) will be used. This is the default.Portable Document Format (PDF)\u2014Portable Document Format (PDF) will be used.32-bit Portable Network Graphics (PNG32)\u201432-bit Portable Network Graphics (PNG32) will be used.Joint Photographic Experts Group (JPG)\u2014 Joint Photographic Experts Group (JPG) will be used.Graphics Interchange Format (GIF)\u2014 Graphics Interchange Format (GIF) will be used.Encapsulated PostScript (EPS)\u2014 Encapsulated PostScript (EPS) will be used.Scalable Vector Graphics (SVG)\u2014Scalable Vector Graphics (SVG) will be used.Compressed Scalable Vector Graphics (SVGZ)\u2014Compressed Scalable Vector Graphics (SVGZ) will be used.Adobe Illustrator Exchange (AIX)\u2014Adobe Illustrator Exchange (AIX) will be used.Tag Image File Format (TIFF)\u2014Tag Image File Format (TIFF) will be used.The background of the output file is always opaque.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Portable Document Format (PDF)", "32-bit Portable Network Graphics (PNG32)", "8-bit Portable Network Graphics (PNG8)", "Joint Photographic Experts Group (JPG)", "Graphics Interchange Format (GIF)", "Encapsulated PostScript (EPS)", "Scalable Vector Graphics (SVG)", "Compressed Scalable Vector Graphics (SVGZ)", "Adobe Illustrator Exchange (AIX)", "Tag Image File Format (TIFF)" ] }, { "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": "Portrait 8.5x11", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Landscape 11x17", "Landscape 24x36 _ Map_Only", "Landscape 24x36", "Landscape 8.5x11", "Landscape 8.5x14", "Portrait 11x17", "Portrait 24x36", "Portrait 24x36_Map_Only", "Portrait 8.5x11", "Portrait 8.5x14", "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 this parameter is unspecified, 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": "" } ] }