Modified Call to use RestApi methods