I want to have statistics for our REST server. Can I use Google Analytics for that and where to set it, if that's the case?
No, that's not really something you could use Google Analytics for. Google Analytics is something you would put in the HTML page for your application accessing the services, and would then give you stats for how many times your application is accessed, and what browsers etc they use. It would not really give you statistics for the REST services (which I assume is what you want).
Retrieving data ...