fixed now webservice will choose the function in the raw_data else it
will choose the one in the database in get_with_search_id.