Get Documents using restTemplate