Skip to main content
12-Amethyst
May 10, 2021
Question

How to get change object from WTPart using rest service?

  • May 10, 2021
  • 2 replies
  • 2231 views

Hi All,

I can get change request using this rest service

GET : "/Windchill/servlet/odata/ChangeMgmt/ChangeRequests('OR:wt.change2.WTChangeRequest2:250300')?$expand=AffectedObjects",

but I want to get this OID "OR:wt.change2.WTChangeRequest2:250300" from WTpart which should be navigate.

 

- Tried with this api but can't get change request object id.

GET : "/Windchill/servlet/odata/ChangeMgmt/Changeables('OR:wt.part.WTPart:262627')?$expand=AffectedByObjects"

Can anybody help to get this change object, is there any Windchill rest API?

 

Thanks.

2 replies

mohitenw12-AmethystAuthor
12-Amethyst
May 11, 2021

is anyone knows the solution?

5-Regular Member
May 11, 2021

What version of Windchill and REST API are you using?

 

Did you get your examples from this article?

https://www.ptc.com/en/support/article/CS300711

 

I'd suggest opening up a Customization case, to get assistance, and maybe they can confirm if that article is still up-to-date or not, as there was talk about this being available in later versions of REST API?

 

Mike

 

7-Bedrock
May 18, 2021

Thanks @MichaelChatel 

But We can not get change notice object details from wt part there is no rest api available in version wrs1.5.