Added Rewriteurl to REST API