I need to consume the WindChill API in a Asp.Net MVC application for some Basic operations of CRUD , or a HTTP get and Post operations samples.
Can some one please assist.
I need to consume the WindChill API in a Asp.Net MVC application for some Basic operations of CRUD , or a HTTP get and Post operations samples.
Can some one please assist.
There are several ways to call windchill API's from ASP.net applications
Hope this help... you can find more information on https://www.windchillguru.com on windchill technical contents.
There are 2 ways to invoke Windchill APIs from ASP.NET
SOAP\REST
service to expose Windchill API
and then consume these services using .NET
code. REST is supported starting from Windchill 10.2 M030
onwards.java
APIs
.You can learn much about the REST API by playing with the Swagger page at https:///Windchill/netmarkets/jsp/restapi/#/Objects/getDisplayableAttributesForType
Note that the REST API comprises mostly GET calls, not many POST calls, and is deprecated. You are best to work with the Odata API (using a recent version of Windchill) at https:///Windchill/servlet/odata/v1/IE/$metadata . Cut and Paste this into your browser address bar to explore, or use Postman, PostWoman, CURL, WGET, etc etc. Leave out the 'v1' version to get the most recent version. Leave out the 'IE' to see all the available endpoints.
Install a recent version of Windchill Rest Services (WRS 1.5, WRS 1.6 etc) for best results. If one of the endpoints is not working, the PTC community recommends installing WRS manually.
HTH -- Rick