Hello!
I want to poll every object of the entity pss_assets from Dynamics, the entity holds the fields pss_latitude and longitude.
I've tried the following query, but I get "400 Bad Request" with very little else information;
req.open("GET", Xrm.Page.context.getClientUrl() + "/api/data/v8.2/pss_assetses?$filter=geo.distance(geography'POINT(56.158445 10.218658)', geography'POINT(pss_latitude pss_longitude)') le 10", true);
Does anyone else had success with this filter? What I want is to get all objects within 10 kilometers (there is still that 5000 object limit).
*This post is locked for comments