Skip to main content
14-Alexandrite
January 12, 2024
Question

Removing stiptoken Parameter in Windchill REST API

  • January 12, 2024
  • 2 replies
  • 1257 views

When using the Windchill REST API, I am limited to receiving only 25 records by default due to the stiptoken=25 parameter. However, I want to retrieve all the data, so how can I remove the stiptoken parameter via the API? Can you assist me with this?

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
January 17, 2024

Hi @ozclkonur 

Have you tried to use some very high number that you always know that there are not so many records?

For example bumbilion ? 100000000000

PetrH

14-Alexandrite
January 17, 2024

Refer this article,
https://www.ptc.com/en/support/article/CS340471?source=search

 

Max number of results for each response limited to 2000.
You would have to parse the response and check if it has "@odata.nextLink" if so retrieve the next url and so on.