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.

Retrieve the release ID of a pending release candidate.

shawn_crockershawn_crocker Member, OS Professional Posts: 869 PRO
I am using the API.  I am hoping there is a way I can retrieve the ID of a pending release candidate.  I would also like to be able to retrieve the ID of a discarded candidate.  Currently It seems a discarded one is invisible to the onshape user interface.  But If I click the link from the originating notification email, the discarded release does still  get pulled up so it does seem to still exist in the system.  Most interested however, in retrieving a pending releases id through the API.
Tagged:

Best Answer

Answers

  • shawn_crockershawn_crocker Member, OS Professional Posts: 869 PRO
    Thanks @raj_Onshape
    I have setup a little process where I pull in a list of all the pending release packages.  I then loop through them making a call for each releaseId in each item and compare the part number/revision I am trying to find the pending release for.  When the process finds the matching part number/revision in a release package, it sets the releaseId to the item I am processing so that I can open up the correct pending release.  This takes a long time to process.  I feel like I am misunderstanding your direction here.  I feel like I should be able to make one call or something to acquire the Id.  What are your thoughts?
  • shawn_crockershawn_crocker Member, OS Professional Posts: 869 PRO
    When we right click on a document version, we can see a list of the release candidates contained in that version.  I'm hoping that we have the ability to pull in a similar list that is specific to a version through the api as well
Sign In or Register to comment.