servico rest +- funcional