add simple api

#close HOSPIT-5