{ "name": "ExportWebMap", "displayName": "Export Web Map", "description": "Geoprocessing tool that facilitates printing from Web applications", "category": "", "helpUrl": "https://gisdata.seattle.gov/server/rest/directories/arcgisoutput/PRINT/CitySecurePrintServiceDEV_GPServer/PRINT_CitySecurePrintServiceDEV/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 application. See the ExportWebMap specification in the ArcGIS Help to understand how this text should be formatted. The ArcGIS web APIs (for JavaScript, Flex, Silverlight, etc.) allow developers to easily get this JSON string from the map.", "direction": "esriGPParameterDirectionInput", "defaultValue": " ", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output File", "description": "Output file name. The extension of the file depends on the output file format.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Format", "dataType": "GPString", "displayName": "Format", "description": "The format in which the map image for printing will be delivered. The following strings are accepted. For example: PNG8 (default if the parameter is left blank) PDF PNG32 JPG GIF EPSSVGSVGZ", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PDF", "PNG32", "PNG8", "JPG", "GIF", "EPS", "SVG", "SVGZ" ] }, { "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 surroundings (for example title, legends, scale bar, and so forth)", "direction": "esriGPParameterDirectionInput", "defaultValue": "Letter ANSI A Landscape", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Letter - Landscape Legend Left", "Legal - Landscape Legend Left", "A4 Landscape", "A4 Portrait", "Letter - Portrait Legend Bottom", "Tabloid ANSI B Landscape", "A3 Landscape", "Legal - Portrait Legend Bottom", "Letter ANSI A Landscape", "Tabloid ANSI B Portrait", "Legal - Portrait Legend Left", "Tabloid - Portrait Legend Left", "Letter - Portrait Legend Left", "A3 Portrait", "Letter ANSI A Portrait", "Tabloid - Portrait Legend Bottom", "Tabloid - Landscape Legend Left", "MAP_ONLY" ] } ] }