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