var query = new esri.tasks.Query(), queryTask = new esri.tasks.QueryTask(SERVICE_PATH_OPERATIONAL_MAP); query.geometry = mapPoint; query.outFields = ["DAC", "MHI", "GEOID10"]; queryTask.execute(query, function (res) { //do something }, function (err) { alert(err.message); });