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.
Looking for some help with release packages in the API
I've been digging into the API to manage our CAD data and I've been fairly successful in building a client that can access assembly BOMs, read/edit metadata, export files, etc. I've run into a roadblock with trying to generate release packages. This section of the API does not seem well documented. I have several questions on the POST/releasepackages/release/
wfid : is this just a string that names the release package?
changeOrderId : I'm assuming this is just some random string that I can assign to any value
What is the "id" value in the items list?
Where can I find a list of valid properties to use in the properties list?
What is the general workflow through the API? I'd like users to be able to kick off a release candidate based on parts in an assembly through my client. I can generate a list of valid part/drawings in the document and fill in most of the items in the request body but I have no idea how to assign people to approve, set revisions, etc.
Does anyone have an example of a successful request body?