ArcGIS API for JavaScript: PropertyInformation/PIW_QueryLayers (MapServer)

Built using the ArcGIS API for JavaScript