Hello, I have a flow that fetches documents form Windchill with Windchill actions. It works but I would like to fetch the whole history of that document. How can I achieve this?
Thanks in advance
Solved! Go to Solution.
Hi @FC_12202090
To fetch the complete history of a document from Windchill using ThingWorx, you can utilize the Windchill REST API, which provides endpoints specifically designed for accessing document history. Here are some steps and resources to guide you:
Explore Windchill REST API Documentation: This documentation will provide you with detailed information on the available endpoints and how to use them to retrieve document history. You can access it here.
Identify Relevant Endpoints: Look for specific REST endpoints that pertain to document history. These endpoints will allow you to query the history of a document, including versions, changes, and other relevant metadata.
By leveraging the Windchill REST API and the provided resources, you should be able to implement a solution to fetch the entire history of your documents effectively.
Regards.
--Sharon
Hi @FC_12202090
To fetch the complete history of a document from Windchill using ThingWorx, you can utilize the Windchill REST API, which provides endpoints specifically designed for accessing document history. Here are some steps and resources to guide you:
Explore Windchill REST API Documentation: This documentation will provide you with detailed information on the available endpoints and how to use them to retrieve document history. You can access it here.
Identify Relevant Endpoints: Look for specific REST endpoints that pertain to document history. These endpoints will allow you to query the history of a document, including versions, changes, and other relevant metadata.
By leveraging the Windchill REST API and the provided resources, you should be able to implement a solution to fetch the entire history of your documents effectively.
Regards.
--Sharon
Hello @slangley, thank you for the reply but I already found a solution. Thank you again,
Hello @FC_12202090,
In case you don't find a better way to do it -- all document versions share the same number. So you can run a Document query, $filtering by document number. This way you'll get all versions and iterations, i.e. the "history".
/ Constantine
Hi @FC_12202090
Please let us know if the responses were helpful by marking the appropriate one as the Accepted Solution. If you're still trying to find a solution, please provide additional information so we can continue to assist.
Regards.
--Sharon