Skip to main content
3-Newcomer
Mar 21, 2023 10:29 AM UTC
Question

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

bdolezal3-NewcomerAuthor
3-Newcomer
Apr 3, 2023 12:38 PM UTC

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?

 

Translate