Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hello together,
I am struggling a little with the incomplete Windchill API docu. I search for an API to get the EndItems for a specific product container.
Anyone any idea how to do this? Thanks in advance
Solved! Go to Solution.
Hi @SebastianR1984 ,
This is Bhushan from PTC Technical Support.
There is an API GET /Parts in PTC Product Management Domain which can be used with filter EndItem and Context Name to get End Items of specific product.
Example:
EndItem eq true and Context/Name eq 'GOLF_CART'
From the PDMLinkProduct object call getProduct(). This will return a WTPastMaster of the primary End Item if it was set. If you are looking for all of them, I would do a Query in that context for all Parts that are flagged as end items.
Thanks for the answer. But i am looking for a REST API in the Windchill REST Services.
Hi @SebastianR1984 ,
This is Bhushan from PTC Technical Support.
There is an API GET /Parts in PTC Product Management Domain which can be used with filter EndItem and Context Name to get End Items of specific product.
Example:
EndItem eq true and Context/Name eq 'GOLF_CART'
Thank you. Its working