ArcGIS API for JavaScript: WaterDistributionSolution/CreateWaterTasks (FeatureServer)
Built using the ArcGIS API for JavaScript