Added javadoc with REST call example