Numeric Parameters of API Data Source
Numeric Parameters of API Data Source have two attributes:
Minimum Number
Minimum Number is used to define the start number of records while flushing response from an API request.
Maximum Number is used to define the maximum number of records in a given API request.
Example 1: In Oracle Netsuite REST API, the Minimum Number is 0 and Maximum Number is 1000, as it flushes 1000 records per request.
Example 2: In another API whose response returns 6 records per page, the Minimum Number is 1 and Maximum Number is 6.
There are two reserved keywords for controlling numeric response flow: min_num and max_num. These keywords can be used in API params, headers, JSON body, pre-request script, etc., wherever needed.
Example:
GET https://example.com/api/users?page={%min_num%}&per_page={%max_num%}


