{ "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://gis.townofwindsorct.com/server/rest/directories/arcgisoutput/013125_PrintService_GPServer/013125_PrintService/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. 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": "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": "8.5x11 Landscape", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "11x17 Landscape", "11x17 Portrait", "8.5x11 Landscape", "8.5x11 Portrait", "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": "" } ] }