base rest services