Returning All the Datatable Rows At Once

Aryan Jain

The data table call only returns 30 row at once. Is there a way to return all the records at once?
The call we are using is:

GET https://preview.threekit.com/api/datatables/{table_id}/rows?{orgid}&all&bearer_token={bearer_token}


Comments

3 comments

  • Comment author
    Dane Krzyskowski

    Hi Aryan Jain,

    I see that you have "all" included in your parameters list. If you assign all=true, the call should return all values.

    GET https://preview.threekit.com/api/datatables/{table_id}/rows?{orgid}&all=true&bearer_token={bearer_token}

    Let me know if this works or if you have any further questions.

    Thanks!

    0
  • Comment author
    Aryan Jain

    Hey Dane Krzyskowski,

    The page from the URL is showing all the data but the json response still only shows 30 records.

    Thanks!

    0
  • Comment author
    Dane Krzyskowski

    Hey Aryan Jain,

    Can you also change {orgId} to orgId={orgId} and see if that fixes it?

    The only way I was able to reproduce what you are seeing while including the all parameter is when the orgId parameter name is not present and 'all' is not equal to true.

    Best,
    Dane

    0

Please sign in to leave a comment.