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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

Fetch BOM data with REST API

EC_10581209
12-Amethyst

Fetch BOM data with REST API

Version: Windchill 12.1

 

Use Case: How to use the PTC.ProdMgmt.GetBOM with the POSTMAN App?


Description:

Hello community, In my case i want to fetch some data from my BOM (in the picture) 

EC_10581209_0-1743496179447.png

so i need to fill the parameters

EC_10581209_1-1743497501105.png

I've used the PartID from the first picture in the URL, the CSRF NONCE i got from this Link http://<Windchill HOME>/Windchill/servlet/odata/PTC/GetCSRFToken() 

and copied the code  in the CSRF_NONCE Field

i am not sure what to type in the body can I let it emty?

when I click Execute i get the Link with error code 400

EC_10581209_2-1743498056669.png

 

Thanks in advance

 

ACCEPTED SOLUTION

Accepted Solutions

4 REPLIES 4

Are you sure the part you queried has a BoM, I noticed the version is A.1

Fadel
22-Sapphire III
(To:EC_10581209)

Hi @EC_10581209 

 

I wanted to see if you got the help you needed.

 

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.

 

Of course, if you have more to share on your issue, please pursue the conversation.

 

Thanks,


Catalina
PTC Community Moderator
PTC

Please refer to https://community.ptc.com/t5/Windchill-Customization/Fetch-BOM-Data-from-WRS/m-p/1008616#M9744

If you have still have specific doubts, let me know.

Announcements
Top Tags