Skip to main content
12-Amethyst
October 29, 2025
Solved

Requesting Large number of objects via WRS Rest API

  • October 29, 2025
  • 3 replies
  • 315 views

I am making requests to /Windchill/servlet/odata/v4/DynamicDocMgmt/DynamicDocuments and need to interact with potentially thousands of documents. What we have found is the $top parameter doesn't override the server's page size limit. I also tried a header odata.maxpagesize=1000 but that didnt help either. Any ideas on how to adjust the number of results returned from the API?

Best answer by rajeshd105

Hello @AdamElkins ,

The following way you can be able to get more objects

Prefer : odata.maxpagesize=5000

rajeshd105_0-1762334689045.png

Refer below links for more information

 

Windchill REST Services OData Properties 

OData Prefer Headers

3 replies

Fadel
23-Emerald I
October 30, 2025
16-Pearl
November 1, 2025

Check the odata.properties file (located at <Windchill_Home>/codebase/com/ptc/odata/core) no restart needed

12-Amethyst
November 5, 2025

Hello @AdamElkins ,

The following way you can be able to get more objects

Prefer : odata.maxpagesize=5000

rajeshd105_0-1762334689045.png

Refer below links for more information

 

Windchill REST Services OData Properties 

OData Prefer Headers