Can someone please tell me the oData equivalent query for the below fetchXml query?
<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="customeraddress">
<attribute name="name"/>
<link-entity name="contact" alias="ab" to="parentid" from="contactid">
<filter type="and">
<condition attribute="statecode" value="0" operator="eq"/>
</filter>
</link-entity>
</entity>
</fetch>
I looked up a lot and tried what was mentioned here: Filter on Expanded entities in OData but doesn't work.