getting list of parties with basic details when we give ids