Not found
Oops! This page doesn't exist. Try going back to our home page.
diff --git a/404.html b/404.html index faed31c..aad0230 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -
Oops! This page doesn't exist. Try going back to our home page.
Oops! This page doesn't exist. Try going back to the home page.
This page describes the APIs Onshape provides for working with assemblies.
📘 Notes
- This page provides sample code as curls. See the curl documentation for more information.
- All Onshape API calls must be properly authenticated by replacing the
CREDENTIALS
variable in the curls below. See the API Keys page for instructions and the Quick Start for an example. All applications submitted to the Onshape App Store must authenticate with OAuth2.- This documentation refers to Onshape IDs in the following format:
{did}, {wid}, {eid}, {pid}, {otherId}
. These represent document, workspace, element, part, and other IDs (respectively) that are needed make the API calls. We sometimes abbreviate these variables asDWVEM
Please see API Guide: API Intro for information on what these IDs mean and how to obtain them from your documents. Never include the curly braces ({}
) in your API calls.- For Enterprise accounts, replace cad in all Onshape URLs with your company domain. +This page provides sample code as curls. See the curl documentation for more information. All Onshape API calls must be properly authenticated by replacing the CREDENTIALS variable in the curls below. See the API Keys page for instructions and the Quick Start for an example. All applications submitted to the Onshape App Store must authenticate with OAuth2. This documentation refers to Onshape IDs in the following format: {did}, {wid}, {eid}, {pid}, {otherId}.">
\ No newline at end of file +Assemblies
This page describes the APIs Onshape provides for working with assemblies.
📘 Notes
- This page provides sample code as curls. See the curl documentation for more information.
- All Onshape API calls must be properly authenticated by replacing the
CREDENTIALS
variable in the curls below. See the API Keys page for instructions and the Quick Start for an example. All applications submitted to the Onshape App Store must authenticate with OAuth2.- This documentation refers to Onshape IDs in the following format:
{did}, {wid}, {eid}, {pid}, {otherId}
. These represent document, workspace, element, part, and other IDs (respectively) that are needed make the API calls. We sometimes abbreviate these variables asDWVEM
Please see API Guide: API Intro for information on what these IDs mean and how to obtain them from your documents. Never include the curly braces ({}
) in your API calls.- For Enterprise accounts, replace cad in all Onshape URLs with your company domain. https://cad.onshape.com > https://companyName.onshape.com
Endpoints
- Assembly/createInstance: Insert an instance of a part, sketch, assembly, or Part Studio into an assembly:
curl -X 'POST' \ 'https://cad.onshape.com/api/v8/assemblies/d/{targetDid}/w/{targetWid}/e/{targetEid}/instances' \ -H 'Accept: application/json;charset=UTF-8; qs=0.09' \ @@ -51,4 +48,4 @@ ], "partId": "{partId}" }' -
- Note: you can add
"versionId": "{sourceVid}"
to the request body if needed.- Refresh your assembly and confirm the part is included.
Additional Resources
- Note: you can add
"versionId": "{sourceVid}"
to the request body if needed.- Refresh your assembly and confirm the part is included.
Additional Resources