---
title: "Copy associative data from one view to another."
method: POST
path: "/appelements/d/{did}/w/{wid}/e/{eid}/copyassociativedata"
tags: ["AppAssociativeData"]
---

# Copy associative data from one view to another.

`POST /appelements/d/{did}/w/{wid}/e/{eid}/copyassociativedata`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/appelements/d/{did}/w/{wid}/e/{eid}/copyassociativedata`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Write`

You can manage associativity with [translateIds](https://cad.onshape.com/glassworks/explorer/#/PartStudio/translateIds).

## Path parameters

- `did` string, required
- `wid` string, required
- `eid` string, required

## Request body

- BTAppElementParamsArrayBTCopyViewAssociativeDataParams
  - `description` string
  - `items` BTCopyViewAssociativeDataParams[]
    - `associativeDataIds` string[]
    - `destinationViewId` string
    - `sourceDocumentId` string
    - `sourceElementId` string
    - `sourceViewId` string
    - `sourceWvm` string
    - `sourceWvmId` string
  - `parentChangeId` string
  - `transactionId` string

## Response `default`

default response

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
