cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Translate the entire conversation x

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

KG_13137761
4-Participant

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

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?

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire II
(To:KG_13137761)

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

View solution in original post

3 REPLIES 3

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
PTC
KG_13137761
4-Participant
(To:Catalina)

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
(To:KG_13137761)

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

Announcements
Top Tags