---
title: "Get a ContentDefinition by ID"
method: GET
path: "/api/v2/ContentDefinitions/{contentDefinitionID}"
tags: ["ContentDefinitions"]
---

# Get a ContentDefinition by ID

`GET /api/v2/ContentDefinitions/{contentDefinitionID}`

## Request

- Base URL: `https://secure.agco-ats.com`
- URL: `https://secure.agco-ats.com/api/v2/ContentDefinitions/{contentDefinitionID}`
- Auth: none declared

Gets a ContentDefinition by ID. When successful, the response is the requested ContentDefinition.
            If unsuccessful, an appropriate ApiError is returned.

## Path parameters

- `contentDefinitionID` integer, required

## Query parameters

- `includeAttributes` string

## Response `200`

OK

- ContentSubmissionSharedBusinessEntitiesContentDefinition: The definition of the content for submission
  - `ContentDefinitionID` integer: The ID of this content definition.
  - `Name` string: The name of this content. Name must be valid for Attribute on PackageType.
  - `TypeID` integer: The type of content.
  - `PackageTypeID` string: Read Only. The ID of the package type used for this content.
  - `Description` string, required: The description used on the package type in the AGCO Update System
  - `Attributes` ContentSubmissionSharedBusinessEntitiesContentDefinitionAttribute[]: Attributes of this ContentDefinition
    - `ID` integer: The ID of this attribute.
    - `ContentDefinitionID` integer: The ID of the content definition to which this attribute belongs.
    - `Name` string, required: The name of this Attribute.
    - `Value` string: The value of this Attribute

## Other responses

- `default`: API Error Response

## Changes

- **2022-09-25** `64b7a32ab769`: 1 info
  - added the new optional `query` request parameter `includeAttributes`

[Operation history](https://skmtc.dev/agco-ats/apis/agco-ats-api/changes/api/v2/ContentDefinitions/:contentDefinitionID/get.md)

---

[API](https://skmtc.dev/agco-ats/apis/agco-ats-api.md) - [All operations](https://skmtc.dev/agco-ats/apis/agco-ats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agco-ats/apis/agco-ats-api/revisions/8b416443df5c?raw)
