Skip to main content
4-Participant
April 2, 2025
Solved

How to get WTDocument Access Control List (ACL) using Windchill REST Services?

  • April 2, 2025
  • 2 replies
  • 671 views

Version: Windchill 12.0

 

Use Case: We are building an automation using REST services and need to understand how to get document ACLs.


Description:

Using Windchill REST Services, how to fetch WTDocument Access Control List? Is there a work-around to infer which users have access to which documents using REST services?

Best answer by HelesicPetr

Hi @KG_13137761 

There is no Windchill REST Method to get ACL rules for an object..

 

You can create own custom rest service to get the information.

You just need to know how to create custom class and how to write a code that get that information.

Also you need to know how to customize the REST service domain etc.

PetrH

2 replies

Catalina
Community Moderator
April 2, 2025

Hi @KG_13137761 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. For example:

  • Can you describe the steps you have taken so far to use Windchill REST Services for fetching the WTDocument Access Control List (ACL)?
  • Are you encountering any specific error messages or issues when trying to fetch the ACLs using REST services?

Please add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,

Catalina | PTC Community Moderator
4-Participant
April 2, 2025

Hi Catalina,

 

Thanks for your response!

I am using below API to fetch WTDocument object metadata. This returns metadata related to the documents.

https://<domain>/Windchill/servlet/odata/v6/DocMgmt/Documents?%24count=false

However, which users or groups should be able to access the document, I am not getting that in the response for above API. 

I searched over internet but I am not able to find the OData API which returns document ACL.

 

I won't be able to add screenshots due to data sensitivity guidelines. 

 

Could you please share any pointers that can help?

 

Thanks and regards,

Kapil

HelesicPetr
22-Sapphire II
22-Sapphire II
April 3, 2025

Hi @KG_13137761 

There is no Windchill REST Method to get ACL rules for an object..

 

You can create own custom rest service to get the information.

You just need to know how to create custom class and how to write a code that get that information.

Also you need to know how to customize the REST service domain etc.

PetrH