#36642 add getOneByTypeAndId method