---
title: "Transform a list of assembly occurrences."
method: POST
path: "/assemblies/d/{did}/w/{wid}/e/{eid}/occurrencetransforms"
tags: ["Assembly"]
---

# Transform a list of assembly occurrences.

`POST /assemblies/d/{did}/w/{wid}/e/{eid}/occurrencetransforms`

## Request

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

## Path parameters

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

## Request body

- BTAssemblyTransformDefinitionParams
  - `isRelative` boolean
  - `occurrences` BTOccurrence74[]
    - `btType` string: Type of JSON object.
    - `fullPathAsString` string
    - `headInstanceId` string
    - `internalOccurrence` boolean
    - `path` string[]
    - `rootOccurrence` boolean
    - `tailInstanceId` string
  - `transform` number[]

## 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)
