Skip to main content
1-Visitor
July 27, 2022
Solved

Swagger URL for the Odata API

  • July 27, 2022
  • 1 reply
  • 2665 views

Related to this post.

I'm also looking for this. Did you find anything? Thanks in advance. 

Best answer by HelesicPetr

Hi @CM_10339207 

You found it.

The page is server/Windchill/netmarkets/html/wrs/doc.html

This is the documentation for REST services where you can test it.

 

HelesicPetr_0-1659013538065.png

 

PetrH

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
July 27, 2022

Hi @CM_10339207 

What are you looking for? What is "this"?

The answer is in the related post.

PetrH

1-Visitor
July 27, 2022

Hi @HelesicPetr thanks for your interest and sorry for the confusion. My post was a reply to a comment in another post. I know I can access the REST API Swagger under Windchill/netmarkets/jsp/restapi/index.html#/.

 

CM_10339207_1-1658940779403.png

However, this swagger is only for the endpoints exposed in /Windchill/servlet/rest when I actually use /Windchill/servlet/odata. So I was asking if there is a similar swagger for the odata endpoints. 

 

After asking that question, the best I've found is: /Windchill/netmarkets/html/wrs/odata-to-swagger.jsp?v=2&d=ClfStructure where d changes depending on the endpoint we want to see. The output is 'raw data' on the browser like this:

 

CM_10339207_0-1658940746561.png

 

Still, with some effort this might be enough. If anyone has a better solution, please let me know. 

 

HelesicPetr
22-Sapphire II
22-Sapphire II
July 28, 2022

Hi @CM_10339207 

You found it.

The page is server/Windchill/netmarkets/html/wrs/doc.html

This is the documentation for REST services where you can test it.

 

HelesicPetr_0-1659013538065.png

 

PetrH