---
title: "Get all revisions for a part number."
method: GET
path: "/revisions/companies/{cid}/partnumber/{pnum}"
tags: ["Revision"]
---

# Get all revisions for a part number.

`GET /revisions/companies/{cid}/partnumber/{pnum}`

You can also request `elementType` in addition to `partNumber` since companies may or may not allow drawings to share part numbers with their parts/assemblies. To perform search without `elementType`, use `elementType = -1` (UNKNOWN).  See [API Guide: Release Management](https://onshape-public.github.io/docs/api-adv/relmgmt/#get-all-revisions) for more details.

## Path parameters

- `cid` string, required
- `pnum` string, required

## Query parameters

- `elementType` string, required
- `fillApprovers` boolean
- `fillExportPermission` boolean
- `supportChangeType` boolean

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
