Skip to main content
Jul 27, 2022 3:59 AM UTC
Solved

Swagger URL for the Odata API

Related to this post.

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

Jul 28, 2022 1:04 PM UTC

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

4 replies

Jul 27, 2022 7:59 AM UTC

Hi @CM_10339207 

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

The answer is in the related post.

PetrH

Jul 27, 2022 4:54 PM UTC

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. 

 

Jul 28, 2022 1:04 PM UTC

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