Refactored Get Specimens REST Api