search rest service (first part)