There are a lot more fittings available than most local hydraulic shops carry or have ever encountered.
Here are a couple of sources I use to figure out fittings for my Jinma 284 tractor.
Welcome to Clearwater Hydraulics
DiscountHydraulicHose.com
These both have good graphics and measurements for you to compare to.
Check with your local Caterpillar dealer. If they don’t have the caps and plugs you need, they may be able to get them. Cat uses a lot of ORFS hoses.