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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Windchill REST API specification conversion to C#

bdolezal
3-Visitor

Windchill REST API specification conversion to C#

Does exist some way how from $metadata obtain object model in C#? Please, see attached figure.
By $metadata I mean for example info on this page:
https://<windchill_path>/Windchill/servlet/odata/ProdMgmt/$metadata
It describes entities of REST API,

 

 

 

 

 

1 REPLY 1

It seems I am able to import schemas of OData into the C# (Visual Studio) with OData Connected Service. 

bdolezal_0-1680524729821.png
Now I got additional challange, how  to start to work with this Class Model? How to suppress houndreds of error messages in this imported class model? How to perform first stuffs, like login at certain uri and how to ask for example for WTPart details? Does someone have an experinece with this?

 

Top Tags