Adding sample code for rest service and RCP calls.