REST Get pagination: Eloqua and Marketo

This example demonstrates how to configure pagination settings in the REST Get Snap for two common marketing platforms—Eloqua and Marketo.

  1. REST Get Pagination: Eloqua

    For Eloqua, configure the following fields in the REST Get Snap:

    Field Value
    Has Next ($total - ($page*$pageSize)) > 0
    Next URL "/assets/campaigns?count=2&page=" + (resultdoc.page + 1)
  2. REST Get Pagination: Marketo

    For Marketo, configure the following fields in the REST Get Snap:

    Field Value
    Has Next resultdoc.moreResult
    Next URL "/rest/v1/activities.json?nextPageToken=" + resultdoc.nextPageToken + "&activityTypeIds=1&activityTypeIds=12"