{ "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://mapservices.legis.wisconsin.gov/arcgis/rest/directories/arcgisoutput/SMO/SMO_Print_ArcPro_GPServer/SMO_SMO_Print_ArcPro/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. The ArcGIS Maps SDK 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": "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 specified, this parameter takes precedence over the Layout Template parameter.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }