This could be a bit tricky,
First you need to identify the kind of door switches, there are 3 basic types
1. 2 tags or terminals with 1 common and either 1 normally open or 1 normally closed contact
2. 3 tags or terminals with 1 common and both 1 normally open and 1 normally closed contacts
3. 4 tags or terminals with 2 common and both 1 normally open and 1 normally closed contacts
If you are fairly competent with wiring then you should be able to decide which of the drawings below suits you. But PLEASE switch it off and unplug it before working on the unit.
Hope you find this helpful
Gordon