private/xml/all_contactsfromcustomer.xml

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
    <entity name="contact">
        <attribute name="fullname" />
        <attribute name="telephone1" />
        <attribute name="jobtitle" />
        <attribute name="contactid" />
        <attribute name="parentcustomerid" />
        <attribute name="address1_line1" />
        <attribute name="winvs_location" />
        <attribute name="mobilephone" />
        <attribute name="gendercode" />
        <attribute name="emailaddress1" />
        <order attribute="fullname" descending="false" />
        <link-entity name="account" from="accountid" to="parentcustomerid" alias="ag">
            <link-entity name="mw_customer" from="mw_accountid" to="accountid" alias="ah">
                <filter type="and">
                </filter>
            </link-entity>
        </link-entity>
    </entity>
</fetch>