{ "name": "Script", "displayName": "Script", "description": "", "category": "", "helpUrl": "https://gis-portal.disaster.go.th/arcgis/rest/directories/arcgisoutput/Putter/Script_Putter_GPServer/Putter_Script_Putter/Script.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "webmap_as_json", "dataType": "GPString", "displayName": "Web Map as JSON", "description": "JSON string representing the web map state from the client", "direction": "esriGPParameterDirectionInput", "defaultValue": { "mapOptions": { "extent": { "xmin": 100.5, "ymin": 13.7, "xmax": 100.7, "ymax": 13.9, "spatialReference": {"wkid": 4326} } }, "exportOptions": { "outputSize": [ 800, 600 ], "dpi": 96 }, "operationalLayers": [] }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Output_File", "dataType": "GPDataFile", "displayName": "Output File", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "Format", "dataType": "GPString", "displayName": "Format", "description": "Output format: pdf, png, or jpg", "direction": "esriGPParameterDirectionInput", "defaultValue": "pdf", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "pdf", "png", "jpg" ] }, { "name": "Layout_Template", "dataType": "GPString", "displayName": "LayoutLayout TemplateTemplate", "description": "Layout template name: MAP_ONLY, Layout1, or Layout2", "direction": "esriGPParameterDirectionInput", "defaultValue": "Layout1", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "MAP_ONLY", "Layout1", "Layout2" ] }, { "name": "Layout_Template_File", "dataType": "GPDataFile", "displayName": "Layout Template File", "description": "Full path to a specific .pagx layout template file", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }