Ok, with reference to your 1st post.... that solenoid is #460, bolted onto the valve by #440(2 pcs)
There should be a 'rod' or 'shaft' in itthat will push against #440, that then pushes aganist 430,370(lots of parts). If oil came out, maybe #420 is an o-ring.so when the 2 screws (440) get loose ??
It looks like the 'green' solenoid is on top of the valve ,the 'yellow' one on the bottom. Same construction just colour coded to keep from messing up direction.
How it could work is, depending on the power applied to one or both solenoids, the 'plungers' ( rods in the cores...) will move the spool section(370) , up or down, making 'something ' move...
It 'should' be an easy repair, but a bummer that it's NOT the top one.
I'd remove the top one, to see how it goes together... then , get oring and screws, reattach the yellow one. For sure I'd add 'star' lockwashers and/or 'threadlocker' (nail polish in a pinch...) to secure the 2 screws holding it on.
Hopefully you HAVE the 'plunger'.