---
title: "Create a ContentDefinition"
method: POST
path: "/api/v2/ContentDefinitions"
tags: ["ContentDefinitions"]
---

# Create a ContentDefinition

`POST /api/v2/ContentDefinitions`

## Request

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

Creates a ContentDefinition.  The body of the POST is the ContentDefinition to create.
            The ContentDefinitionID will be assigned on creation of the Job.  When successful, the response
            is the JobID.  If unsuccessful, an appropriate ApiError is returned.

## Request body

- 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

## Response `200`

OK

- integer

## Other responses

- `default`: API Error Response

---

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