Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
How can I transfer documents automatically from Thingworx application to a windchill application and delete the document afterwards from thingworx? Is there an API I can use for it or any other available code? Thank you in advance!
Solved! Go to Solution.
Hi @JM_10218548
You can use Windchill Rest Services to Create / Check In / Check Out documents in the Windchill system from Thingworx
To access WRS documentation - https://<<HOST>>:<<PORTNUMBER>>/Windchill/netmarkets/html/wrs/doc.html
If Thingworx Navigate is configured in your Thingworx Instance, you can directly consume Windchill API using Navigate ODataConnector (which will take care of authentication ) or you can use ContentLoader Function in Thingworx to consume Windchill API.
To delete documents from your Thingworx Repository, you can use the 'DeleteFile' or 'DeleteFolder' (to delete the entire folder) service from your Repository Thing.
/VR
Hi @JM_10218548
You can use Windchill Rest Services to Create / Check In / Check Out documents in the Windchill system from Thingworx
To access WRS documentation - https://<<HOST>>:<<PORTNUMBER>>/Windchill/netmarkets/html/wrs/doc.html
If Thingworx Navigate is configured in your Thingworx Instance, you can directly consume Windchill API using Navigate ODataConnector (which will take care of authentication ) or you can use ContentLoader Function in Thingworx to consume Windchill API.
To delete documents from your Thingworx Repository, you can use the 'DeleteFile' or 'DeleteFolder' (to delete the entire folder) service from your Repository Thing.
/VR