Interchangeable hydraulic fittings with ball lock mechanism