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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Swagger URL for the Odata API

CM_10339207
5-Regular Member

Swagger URL for the Odata API

Related to this post.

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

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4

Hi @CM_10339207 

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

The answer is in the related post.

PetrH

CM_10339207
5-Regular Member
(To:HelesicPetr)

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. 

 

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

CM_10339207
5-Regular Member
(To:HelesicPetr)

Yes it is !

 

But we seem to have some config/access problem in our server. 

CM_10339207_0-1659021484132.png

Thanks. 

 

Announcements

Top Tags