Skip to main content
11-Garnet
July 10, 2025
Solved

How to get Sub-Folders and folder content from Windchill Project Container using ODATA REST services

  • July 10, 2025
  • 2 replies
  • 522 views

Hi,

 

I would like to get the same folder and content representation of project container from Windchill to Navigate using ODATA services, I stuck at getting subfolders(level 2+). Please help me.

 

I use the following API 

Windchill/servlet/odata/v6/DataAdmin/Containers('ID')/Folders?%24count=false&%24expand=Folders

 

However, this gives me only the first level of the folder structure not the nested folders.

 

Also, How to get the folder content?

 

 

many thanks,

Janakiraman

Best answer by LT_12699133

You can use below to fetch all levels

Windchill/servlet/odata/v6/DataAdmin/Containers('ID')/Folders?%24count=false&%24expand=Folders(%24levels%3Dmax)

 Let me know if you need any clarification on this

2 replies

Catalina
Community Moderator
July 14, 2025

Hi @Janaki.Raman 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Catalina | PTC Community Moderator
10-Marble
July 16, 2025

You can use below to fetch all levels

Windchill/servlet/odata/v6/DataAdmin/Containers('ID')/Folders?%24count=false&%24expand=Folders(%24levels%3Dmax)

 Let me know if you need any clarification on this