Revert "adding rest service for Record"

This reverts commit 7d8dd77c84ec973791f7ead11b6901db503f7cef.