Skip to main content
3-Newcomer
March 21, 2023
Question

Windchill REST API specification conversion to C#

  • March 21, 2023
  • 1 reply
  • 1620 views

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
April 3, 2023

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?