searchRecords() arguments error

searchRecords() arguments error

Hi, I'm new to Deluge so please accept my apologies for this very beginners type of question! I am trying to create a custom command within Cliq that will list all Open tickets within Desk. The problem I am getting is when I use the searchRecords() method, I enter in the 5 required arguments, but it still asks me for the other 3 optional arguments:

 Number of arguments mismatches for function zoho.support.searchRecords Required :8 arguments Found :5 arguments

Have I misunderstood the documentation and that all 8 arguments are required, if so is there any explanation of each of the arguments, I can't work out what the connections argument is.

Thanks in advance.