{ "name": "DownloadTool", "displayName": "Download Tool", "description": "Download data from a map or feature service", "category": "", "helpUrl": "https://mapsdev.hamiltontn.gov/hcwa/rest/directories/arcgisoutput/ZIMS/DownloadTool_GPServer/ZIMS_DownloadTool/DownloadTool.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "Service_URL", "dataType": "GPString", "displayName": "Service URL", "description": "The URL of the service to download the data for", "direction": "esriGPParameterDirectionInput", "defaultValue": "http://gismaps.hamiltontn.gov:6080/arcgis/rest/services/ZIMS/ZoningFeatureService_Production/FeatureServer/0", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Feature_IDs", "dataType": "GPString", "displayName": "Feature IDs", "description": "The object IDs of the features to download", "direction": "esriGPParameterDirectionInput", "defaultValue": "1, 2, 3", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "FileType", "dataType": "GPString", "displayName": "FileType", "description": "Which type of file?", "direction": "esriGPParameterDirectionInput", "defaultValue": "ALL", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "JSON", "SHP", "KMZ", "ALL" ] }, { "name": "Output_Path", "dataType": "GPDataFile", "displayName": "Output Path", "description": "Output file", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "Username", "dataType": "GPString", "displayName": "Username", "description": "For secured services", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "Password", "dataType": "GPString", "displayName": "Password", "description": "For secured services", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" } ] }