Issue 59-Action item 5 Define an API to search data and return JSON

Action item 5 - Define an API to search data corresponding to the condition and return the result.
Refer to #59