msyk/FMDataAPI

Portal Limit and offset results in a error when using a query

Closed this issue · 0 comments

When passing a limit and/or offset on a related portal the filemaker server responds with an error.

For example:
$filemaker->layout('layout')->query([['id' => 1]], null, 0, 0, ['related_portal' => ['limit' => 5, 'offset' => 0]);

The expected result is a response with a limited amount of portal records. This however results in a error:

{
    "messages": [
        {
            "message": "Unknown parameter(s): _limit.related_portal",
            "code": "960"
        }
    ],
    "response": {}
}