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

We are happy to announce the new Windchill Customization board! Learn more.

Get Product Enditem via API

SebastianR1984
4-Participant

Get Product Enditem via API

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 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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'

View solution in original post

4 REPLIES 4

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

Top Tags