{ "name": "ExportWebMapTask", "displayName": "Export Web Map Task", "description": "Takes the state of a web application (for example, included services, layer visibility settings, and client-side graphics) and returns a printable page layout or basic map of the specified area of interest.", "category": "", "helpUrl": "https://mapprod3.environment.nsw.gov.au/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer/Utilities_PrintingTools/ExportWebMapTask.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 to be exported as it appears in the web application. See the ExportWebMap specification to understand how this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, and so on) allow developers to easily get this JSON string from the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": "#", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Format", "dataType": "GPString", "displayName": "Format", "description": "The format in which the map image for printing will be delivered.PDF \u2014 Portable Document Format. This is the default.PNG8 \u2014 8-bit Portable Network GraphicsPNG32 \u201432-bit Portable Network GraphicsJPG \u2014 Joint Photographic Experts GroupGIF \u2014 Graphics Interchange FormatEPS \u2014 Encapsulated PostScriptSVG \u2014 Encapsulated PostScriptSVGZ \u2014 Compressed Scalable Vector Graphics", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PDF", "PNG32", "PNG8", "JPG", "GIF", "EPS", "SVG", "SVGZ", "AIX", "TIFF" ] }, { "name": "Layout_Template", "dataType": "GPString", "displayName": "Layout Template", "description": "Either a name of a template from the list or the keyword MAP_ONLY. When MAP_ONLY is chosen or an empty string is passed in, the output map does not contain any page layout elements like titles, legends, or scale bars, for example.", "direction": "esriGPParameterDirectionInput", "defaultValue": "MAP_ONLY", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "A3 Landscape", "A3 Portrait", "A4 Landscape", "A4 Portrait", "Letter ANSI A Landscape", "Letter ANSI A Portrait", "Tabloid ANSI B Landscape", "Tabloid ANSI B Portrait", "MAP_ONLY" ] }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output_File", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" } ] }