Added BUildUriTemplate to RESTService.