Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Version: Windchill 12.0
Use Case: All documents are attached to item and I need to get a list of them in order to download them
Description:
I know how to search an item with the rest api and how to display all its metadata but I didn't find how to get list of child items which should be the documents I need to download.
Thanks for help.
Fred
Solved! Go to Solution.
with item do you mean a part ? how documents are linked reference or describe link ?
Yes, documentation linked to a part. I don't know when I get the part how to list the linked document.
Thanks,
Fred
from the related objects tab you can see if its describe or reference doc :
Exactly it s where the documents are but I don't know how to get this link when I send a request throught the REST API. Do you have any idea ?
Fred
Ok thanks a lot I test it and come back to you
The solution you proposed works great ! Thanks a lot
Do you know if we can get the same result with REST API instead of ODATA ? (http://<host name>/Windchill/servlet/rest/)
Hi Fede, it is almost what I was looking for, but I thought to get an equivalent of this ODATA http request using the REST API /Windchill/servlet/rest/ ?
Thanks in advance,
Fred