---
title: "Get the next available part number for a release item."
method: POST
path: "/numberingscheme/nextnumbers"
tags: ["NumberingScheme"]
---

# Get the next available part number for a release item.

`POST /numberingscheme/nextnumbers`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/numberingscheme/nextnumbers`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Read`

Provide either the company ID or the ID of a document owned by the company. See [API Guide: Release Management](https://onshape-public.github.io/docs/api-adv/relmgmt/#get-the-next-available-part-number) for an example.

## Query parameters

- `cid` string
- `did` string

## Request body

- BTNextPartNumbersParam
  - `itemPartNumbers` BTNextPartNumberParam[]
    - `categories` BTCategoryParam[]
      - `id` string
      - `name` string
    - `configuration` string: URL-encoded string of configuration values (separated by `;`). See the [Configurations API Guide](https://onshape-public.github.io/docs/api-adv/configs/) for details.
    - `documentId` string: Document ID
    - `elementId` string: Element (tab) ID
    - `elementType` integer: Element Type. Must be one of: `-1`: Unknown, `0`: Part Studio, `1`: Assembly, `2`: Drawing. `4` : Blob, `8`: Variable Studio
    - `id` string
    - `mimeType` string
    - `numberSchemeResourceTypeId` string: Must be one of: `8c96700620f77935a0b2cddc`: Part Studio, assembly, or drawing, `29cd738cc6a8819fe84864e0`: Non-geometric items, `10f29fc285510ebc648108e6`: Standard content
    - `partId` string: Part ID
    - `partNumber` string: Current part number
    - `versionId` string: Version ID
    - `workspaceId` string: Workspace ID
  - `skipPartNumbers` string[]: Comma-separated list of part numbers to skip creating new part numbers for.

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