invoke
Gets Company models from the API for a specific page. You can specify extra filters to apply on the search.
Return
Parameters
List<CompanyProperty> the fields of the companies to request to the API. By default, it will be all the fields. Note: Less fields means less data to request to the API and it will be faster. On the other hand, more fields means more data to request to the API and it will be slower. We encourage to request just the fields that you need. Note that it is important to always request at least the CompanyProperty.ID field because the API will always return the companies by their id. If this field is not requested, the process will fail and it will return an error. Note that the API will return the same Company model regardless of the fields requested. The properties that are not requested will have the default value configured on the model.
CompanyFilters the filters to apply on the search. If null, no filters will be applied.
ApiLogicalOperator the logical operator to join the filters. By default, it will be ApiLogicalOperator.AND.
CompanyOrderSort the order to sort the companies. If null, no sorting will be applied.
Int the page to be returned. By default, it will be 1.
Int the number of companies to be returned on each page. By default, it will be 10.
ApiSearchType the search type to use on the filters. By default, it will be ApiSearchType.EXACT.
String an specific session token for consuming the API. Only is required when you have an specific custom session handling with a valid session token for this request or you did not set the initial SDK setup. If null, you must have to set the initial SDK setup for handling automatically the session behind the scenes.