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
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?
Solved! Go to Solution.
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
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:
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,
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
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
