I need to retrieve a set of records based on a search on two different fields in two different entities. The search value can exist in either field for the record to be returned. Do I have to use FetchXML for this? I tried variations on the below for this with no luck.
jobopportunities?$select=createdon,_account_value,addcoresafety,directions,duration,jobaddress,jobtype,_list_value,name,neededemployees,positiontitle&$expand=account($select=name;$filter=contains(name, 'foo'))&$filter=contains(positiontitle, 'foo')