ArcGIS API for JavaScript: PerformanceMeasures/Intersections (FeatureServer)
Built using the ArcGIS API for JavaScript