IMOD-SE - Web Portal and Custom API doesn't show query result from view

I developed a custom API that takes the data present from a view created on the database.
{"TotalCount":84,"TableName":"CCC_View_PersonIAGSI_IAGNO","Entities":[
...
...
...
...
]
}

A new page has been created on the Web Portal that displays the results of the query on the screen. This all works on an On Premise version of One Identity.
Porting the same Custom API and Web Portal changes to the IMOD-SE version of One Identity, t
he Rest API call returns zero results.
Even trying to call the API from Postman or from the browser gives zero results (the call does not fail with error):
{
    "TotalCount": 0,
    "TableName": "CCC_View_PersonIAGSI_IAGNO",
    "Entities": []
}


From ObjectBrowser instead it is possible to see the elements present in the view.

This is the method code of custom API:

public void Build(IApiBuilder builder)
{
    builder.AddMethod(
        Method.Define("person/viewiagsiiagno")
        .FromTable("CCC_View_PersonIAGSI_IAGNO")
        .EnableRead()
        .WithAllColumns()
    );
}


Any suggestion? Why we cannot see
elements present in the view in IMOD-SE version?