integrted to restclient