Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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_crocker
Member, OS Professional Posts: 861 PRO
in General
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.
0
Best Answer
-
raj_Onshape Onshape Employees Posts: 110https://cad.onshape.com/glassworks/explorer/#/Workflow/enumerateObjectWorkflows should let you do it
0
Answers
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?