interfax / interfax-php

Fax send and receive in PHP with the InterFAX REST API
https://www.interfax.net/en/dev/php
MIT License
13 stars 4 forks source link

Incoming query limit not working #10

Closed StefanoCesena closed 3 years ago

StefanoCesena commented 6 years ago

Hello, I'm trying to retrieve a list of inbounded faxes, but limit option works only for values lesser than 25 (the default value). I'm having troubles with the following code:

    $interfax = new Client(['username' => $username, 'password' => $password]);

    $inbound = $interfax->inbound;
    $faxes = $inbound->incoming(['limit' => 29]); 

Please help, Thank you

ricky-shake-n-bake-bobby commented 3 years ago

Per the System Limitations (https://help.uplandsoftware.com/interfax/en/send-faxes/system-limitations.htm?Highlight=System%20Limitations), the REST API is limited to 25 transactions at time, so that behaviour is expected.