In a small bowl whisk together sugar, vinegar, olive oil, salt, and pepper and set aside.
Drain and rinse all the canned beans and pimentos and place them in a large bowl. Add onion, parsley, and dressing and mix until combined.
Cover and refrigerate for 4 hours, stirring occasionally.
Notes
Sugar- You can add more or less according to your taste.Yellow Wax Beans-If you can't find these just use another can of green beans.Pimentos- Or a finely diced red bell pepper.