getLocations
$result = getLocations($filters)
This method retrieves location entries matching the provided filter.
The method returns an array of objects, each object matching the filters specified.