IdentityNow - Account aggeregation pagination

Hi all,

My endpoint returns in Postman this result, but I can’t config IdentityNow connection configuration to paginate. Can you help? I use this to paginate:

$sysparm_limit$ = 1
TERMINATE_IF $RECORDS_COUNT$ < 60
$sysparm_offset$ = $sysparm_offset$ + $sysparm_limit$
$endpoint.fullUrl$ = $links.next$

{
    "data": [
        {
            "id": "061b40d2",
            "type": "users",
            "links": {
                "self": "api/v3/users/061b40d2"
            },
            "attributes": {
                "name": "Rafael",
                "email": "[email protected]",
                "phone_number": "4058789858",
                "created": "2021-07-28T11:40:34.065-03:00",
                "modified": "2021-07-28T11:41:11.275-03:00"
            }
        },
        {
            "id": "0809f10f",
            "type": "users",
            "links": {
                "self": "api/v3/users/0809f10f"
            },
            "attributes": {
                "name": "Matheus",
                "email": "[email protected]",
                "phone_number": null,
                "created": "2022-04-19T10:22:55.922-03:00",
                "modified": "2022-04-19T10:22:55.966-03:00"
            }
        }
    ],
    "meta": {
        "record_count": 80
    },
    "links": {
        "first": "https://app.clicksign.com/api/v3/users?page%5Bnumber%5D=1&page%5Bsize%5D=20",
        "next": "same example",
        "last": "same example"
    }
}

Hi @oliveidc

Have you tried the directions found in the web services connector?

Paging (sailpoint.com)

If the default pagination does not work, you may need to use a rule to manage the process. See:

Paging (sailpoint.com)

These pages include a number of examples.

try this

$sys_limit$ = 60
TERMINATE_IF $RECORDS_COUNT$ < $sys_limit$
$endpoint.fullUrl$ = $response.links.next$

if you have the link of the next you dont need to calculate offsets.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.