Overview

Record set limiting has been built into the API to restrict the results returned for large dataset queries (i.e., statuses, messages, alerts). For these calls, the record set is limited to the value that is defined for the application that is calling the method (default is 1000). If this record set size needs to be adjusted, please contact Trakopolis support.

It is highly recommended that you specify as small of a record set as possible for a transaction to assure you the best response time for a call.

Custom record set limiting for these index calls can be achieved using the 'request-size' HTTP header parameter. Pass in an integer value as a string and you can further filter a record set.

Filtering of record sets are based on the created date time. So, if a request has a limit of a 1000 on it, you will get the latest 1000 records for that query.

Examples

Query: /statuses/

Default record set size as per application: 1000

Request-size header: not specified

Result set size: 1000 latest statuses

 

Query: /statuses/

Default record set size as per application: 1000

Request-size header: 2000

Result set size: 1000 latest statuses

 

Query: /statuses/

Default record set size as per application: 1000

Request-size header: 100

Result set size: 100 latest statuses