# How do I use the Pagecursor parameter to get the next 1000 lines of data?

**URL:** <https://forums.digi.com/t/how-do-i-use-the-pagecursor-parameter-to-get-the-next-1000-lines-of-data/11687>\
**Category:** Web Services (API)\
**Tags:** http, data, request, datapoint, pagecursor\
**Created:** [July 8, 2013, 2:50am UTC](https://forums.digi.com/t/how-do-i-use-the-pagecursor-parameter-to-get-the-next-1000-lines-of-data/11687 "2013-07-08T02:50:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NWVineyards](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NWVineyards](https://forums.digi.com/u/NWVineyards)\
**Post date:** [July 8, 2013, 2:50am UTC](https://forums.digi.com/t/how-do-i-use-the-pagecursor-parameter-to-get-the-next-1000-lines-of-data/11687/1 "2013-07-08T02:50:03Z")

</div>

Juha, your advice worked, “Thanks”, but it leads to another question: …

What’s the format for using the Pagecursor parameter for an http DataPoint request?

My http query returned “1752b1f6-c8c3-11e2-8dd0-4040463f606d”

How do I use this to get the next 1000 lines of data?

Thanks for your help.

- from a Digi newbie.

---

<div class="post-metadata">

**Author:** ![juha.autioniemi](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@juha.autioniemi](https://forums.digi.com/u/juha.autioniemi)\
**Post date:** [July 8, 2013, 9:47am UTC](https://forums.digi.com/t/how-do-i-use-the-pagecursor-parameter-to-get-the-next-1000-lines-of-data/11687/2 "2013-07-08T09:47:22Z")

</div>

Hi, adding a parameter to get request is easy.

For example:

[https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature?pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d](https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature?pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d)

You can also add multiple parameters in one request:

[https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature?parameter1=a&amp;parameter2=b&amp;parameter3=c](https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature?parameter1=a&amp;parameter2=b&amp;parameter3=c) etc…

Juha

---

<div class="post-metadata">

**Author:** ![Gaojian](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@Gaojian](https://forums.digi.com/u/Gaojian)\
**Post date:** [April 14, 2020, 3:30pm UTC](https://forums.digi.com/t/how-do-i-use-the-pagecursor-parameter-to-get-the-next-1000-lines-of-data/11687/3 "2020-04-14T15:30:32Z")

</div>

Hi Juha, how do I get json output after adding “?pageCursor=1752b1f6-c8c3-11e2-8dd0-4040463f606d”? .json only works with the original url, ex:“[https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature.json](https://my.idigi.com/ws/DataPoint/dia/channel/00000000-00000000-00000000-00000000/room1/temperature.json)”
