Hi Anoop,
Kindly find the below code snippet in which you can add a query where key as "like" and value as "J" for finding the records of user using UserService.
HashMap<String, String> otherMetaHeaders = new HashMap<String, String>();
otherMetaHeaders.put("like", "J");
userService.setOtherMetaHeaders(otherMetaHeaders);
ArrayList<User> getUsersObj = userService.getAllUsers();
The above code snippet is in Java, if you are working with other sdk then let me know or you can take refrence of this and send the input parameter in setOtherMetaHeaders function.
Thanks.