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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Automatically Transfer Documents from ThingWorx to Windchill

JM_10218548
4-Participant

Automatically Transfer Documents from ThingWorx to Windchill

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! 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @JM_10218548 

 

You can use Windchill Rest Services to Create / Check In / Check Out documents in the Windchill system from Thingworx

 

Velkumar_0-1682312108722.png

 

 

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

 

View solution in original post

1 REPLY 1

Hi @JM_10218548 

 

You can use Windchill Rest Services to Create / Check In / Check Out documents in the Windchill system from Thingworx

 

Velkumar_0-1682312108722.png

 

 

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

 

Top Tags