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.
API to create new document.
MBagwan
Member Posts: 15 ✭
Anyone know the API to create new onshape document?
I want to create new onshape document and create new part studio in that document.
I want to create new onshape document and create new part studio in that document.
Tagged:
0
Answers
The API to create a new document is: /api/documents . You can look at the API documentation mentioned in this forum discussion: https://forum.onshape.com/discussion/4030/where-can-i-find-the-apis-and-api-documentation-for-onshape-how-much-functionality-the-apis-cover . Hope that helps! Also note that you can use our clients to help you get up and going fast. For instance, here is our Python client: https://github.com/onshape-public/onshape-clients/tree/master/python. We also have a Java client.
Cheers,
-Ethan
I used the API "/api/documents". But I am getting a response as access denied. however, I can get available documents data using API. Also, I go through the python as well as java client, but not able to build and run it properly using the readme file. As I never work on web-based applications. Could you please share a link or steps to build python or java client?