Figured this topic would be suitable for an additional question about retrieving all mailing lists using pagination. API "List Mailing Lists" states that the result.nextPage should provide offset value automaticly (default 0), or atleast thats how I understand it, although it returns url without offset. I tested using this new url but It took me nowhere. I make the API curl call using adobe campaign (JavaScript) where I have a function for checking if there actually is a new page available and a function that executes the curl call with new url. My goal is simply to go through all the lists but I'm able to retrieve only the first 100. function executeNewUrl(url){ var command = "curl --silent --output -X GET -H 'X-API-TOKEN: "+vars.subsKey+"' '"+url+"'"; var result = execCommand(command); var itemsObj = JSON.parse(result[1]); if (itemObj.toString() != "undefined");{ for (var i=0; i < itemsObj.result.elements.length; i++){ logInfo("nimi: "+itemsObj.r
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.