ArcGIS JavaScript API: Reference (MapServer)

Built using the ArcGIS API for JavaScript