I recommend bowtie pasta for cold pasta salads as I've found that it holds its integrity best due to the thicker portion in the middle.   You could absolutely use other types of pasta, just make sure to check the cooking times on the back of the packet so you get it perfectly al dante.   If your pasta is overcooked, it will go mushy and won't hold up in the pasta salad.