How to retrieve matching records from Virtual Entity by XMLHTTP request using JavaScript
Client API - Dynamics 365