REST API PO Details Not pulling in detail results

I am having some difficulty with the results of my REST API call.
See below for the response code I’m getting from the REST Swagger page.

The Value is only showing “[]” as the result even though the the PO Details do contain lines for the PONUM that I’m filtering.

The frustrating part, is that I was able to get a return result. But only when I set the $top parameter to 200000. If it doesn’t time out, it pulls the line details.

I’m not able to use the $filter to get the results I’m looking for.

What can I do to work around this issue?

Response Body (From the swagger page)
{
“odata.metadata”: “https://centralusdtpilot01.epicorsaas.com/SaaS511Pilot/api/v1/Erp.BO.POSvc/$metadata#Epicor.RestApi.PODetails&$select=PONUM,%20POLine”,
“value”: []
}

It seems that this has been brought up before and is a known issue in REST.
I’m not sure if there’s been a resolution though.

I found that if you use a different Get, you can get the results. I used " GET /POes({Company},{PONum})/PODetails" and it worked for what I was needing.