{ "name": "ExportWebMap", "displayName": "Export Web Map", "description": "Takes the state of a web app (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://gis.octa.net/arcgis/rest/directories/arcgisoutput/OCTAPrintServices/Print_Services_Pro_GPServer/OCTAPrintServices_Print_Services_Pro/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 to be exported as it appears in the web app. See the ExportWebMap specification to understand how to format this text. The ArcGIS web APIs for JavaScript, Flex, Silverlight, and so on allow 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.", "direction": "esriGPParameterDirectionInput", "defaultValue": "PDF", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "PDF", "JPG", "GIF" ] }, { "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 chosen 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": "Landscape", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "Landscape", "Portrait", "MAP_ONLY" ] } ] }