I'm using a Symfony API with an Angular client. When trying to get the data from a table Quotation I only get 30 results max when I want to get everything. I'm using Sellsy on the API. In the SellsyService.php I guess this function is called when I tried to get Quotations:
public function getQuotations()
{
$devisRequest = array(
'method' => 'Document.getList',
'params' => array(
'doctype' => "estimate",
'pagination' => array(
'nbperpage' => 4999,
),
'search' => array(
//'steps' => ['sent','accepted']
'steps' => explode(
",",
"draft,due,payinprogress,paid,late,sent,read,accepted,contested,expired,advanced,partialinvoiced,invoiced,stored,spent,partialspend,refused"
),
),
),
);
$devislist = $this->sellsy->requestApi($devisRequest);
return $devislist;
}
I don't really know where to look, I didn't develop this API. When looking for "30" in the project, I can see this in cache:
'api_platform.eager_loading.max_joins' => 30,
'api_platform.collection.pagination.items_per_page' => 30,
I don't know if it has something to do with my problem. Here's the config api_platform.yaml:
api_platform:
swagger:
api_keys:
apiKey:
name: Authorization
type: header
mapping:
paths: ['%kernel.project_dir%/src/Entity']
Where should I like for this 30 limitation?