ArcGIS API for JavaScript: DIVAS_ERSGetEvent (MapServer)

Built using the ArcGIS API for JavaScript