Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

No way to pull more than 2500 records #106

Closed
eugenejscray-zz opened this issue Jan 6, 2017 · 6 comments
Closed

No way to pull more than 2500 records #106

eugenejscray-zz opened this issue Jan 6, 2017 · 6 comments

Comments

@eugenejscray-zz
Copy link

We need a way to pass the variable "Continue Request" to grab the next 2500 results.

@tdsticks
Copy link

Jamie Robertson has this working. See the Files changed.
#68

I managed get this working on my end as well.

@eugenejscray-zz
Copy link
Author

eugenejscray-zz commented Feb 17, 2017 via email

@vernak2539
Copy link
Contributor

@eugenejscray this has not been merged for a few reasons.

  1. There are JSHint errors
    • While I understand the reasoning behind the author not wanting to do it a certain way, I will no be changing these rules. PRs will need to pass linting before merging
  2. The test is not written properly and does not get executed when the test command is run via npm
    • There is a convention for this repo and it needs to be followed (use mocha and put it in the tests/specs folder)
  3. There are now merge conflicts since feedback was not taken and actioned upon in a decent amount of time

Sorry if that's not what you wanted to hear. I've been prompt in providing feedback, but nothing has been updated.

@vernak2539
Copy link
Contributor

continue request should be now provided in v1.6.0

@kishore-indraganti
Copy link

const options = {
    Name: 'STG_Test3', //Dataextension name
    props: ['ID', 'BlogID'],
    filter: { //remove filter for all.
        leftOperand: 'ID',
        operator: 'greaterThan',
        rightOperand: 3000
    },
    continueRequest: true
};

const de = IET_Client.dataExtensionRow(options);

const test = de.get((err, response) => {
    if (err) {
        console.log(`Error in DE get method: ${JSON.stringify(err)}`);
    } else {
        console.log(JSON.stringify(response, null, '\t'));
    }
});

What I am doing here, I am getting only 2500 records on each call, how can i get next set of records

@danieldrasdo
Copy link

Hey @kishore-indraganti, did you ever get this to work? I'd love to see a working sample, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants