Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

BOM TEMPLATE ID?

shawn_crockershawn_crocker Member, OS Professional Posts: 596 PRO
I am starting into the API.  I would like to retrieve assembly boms and specify the bom template id to use.  This seems very straightforward but I really cannot find where I would find that id.  I am also seeing no reference of the id when searching the forum or google.  I am only seeing the option in the glassworks explorer.  Does anyone know where to find this?  @NeilCooke?

Tagged:

Best Answer

  • caden_armstrongcaden_armstrong Member, User Group Leader Posts: 78 PRO
    Answer ✓
    Theres an undocumented API endpoint at:

    /api/tabletemplates/companies/{cid}?templateType=0

    This gives the bom templates and all related info.
    Software Development Lead - CADSharp.com - Email
    We specialize in custom FeatureScripts, and Onshape integrated applications

Answers

  • caden_armstrongcaden_armstrong Member, User Group Leader Posts: 78 PRO
    Answer ✓
    Theres an undocumented API endpoint at:

    /api/tabletemplates/companies/{cid}?templateType=0

    This gives the bom templates and all related info.
    Software Development Lead - CADSharp.com - Email
    We specialize in custom FeatureScripts, and Onshape integrated applications
  • shawn_crockershawn_crocker Member, OS Professional Posts: 596 PRO
    @caden_armstrong
    Thanks.  Exactly what I was missing.
Sign In or Register to comment.