The server-web endpoint /rest/location/findByProperties?is_jurisdiction=true&geometry=false&properties_filter=status:Active,parentId:null is meant to return the root locations in the DB. Any location whose parentId is not set is expected as the output to this call.
However, the endpoint returns an empty JSON array when the parentId is NULL, but returns the expected list when the parentId value is an empty string.
The server-web endpoint
/rest/location/findByProperties?is_jurisdiction=true&geometry=false&properties_filter=status:Active,parentId:nullis meant to return the root locations in the DB. Any location whoseparentIdis not set is expected as the output to this call.However, the endpoint returns an empty JSON array when the
parentIdisNULL, but returns the expected list when theparentIdvalue is an empty string.