ArcGIS API for JavaScript: Hosted/bikin_Layer3DToFeatureClass_ExportFeatures (MapServer)
Built using the ArcGIS API for JavaScript