Added route for getting instances by type id