ArcGIS API for JavaScript: Hosted/Line_Task_Join (FeatureServer)
Built using the ArcGIS API for JavaScript