Paging Based on Request Body Configuration

Configure paging using request body parameter configuration.

For example, an initial aggregation URL for an example managed system is as follows:

https://test.com/GetUserList

The given example URL has the following parameters:

  • baseUrlhttps://test.com

  • relativeURL/GetUserList

The request body is as follows:

Copy
Body: {
    ”Limit” : 50,
    “offset“: 1
}

Use the following configuration steps in the Paging tab based on the given request body:

Copy
$limit$ = 50
TERMINATE_IF $RECORDS_COUNT$ < $limit$
$offset$ = $offset$  + 1
$endpoint.fullUrl$ = $application.baseUrl$ + "/GetUserList"
$request.PageIndex$ = $offset$