---
title: "Update a ContentSubmission"
method: PUT
path: "/api/v2/ContentSubmissions/{contentSubmissionID}"
tags: ["ContentSubmissions"]
---

# Update a ContentSubmission

`PUT /api/v2/ContentSubmissions/{contentSubmissionID}`

## Request

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

Updates a ContentSubmission.  The body of the PUT is the updated ContentSubmission.  
            When successful, the response is empty.  If unsuccessful, an appropriate ApiError is returned.

## Path parameters

- `contentSubmissionID` integer, required

## Request body

- ContentSubmissionSharedBusinessEntitiesContentSubmission: A content submission
  - `ContentSubmissionID` integer: The ID of this Content Submission.
  - `ContentDefinitionID` integer: The ID of the Content Definition.
  - `Repository` string: The SVN repository used as the source of this content submission
  - `Revision` integer: The SVN revision used as the source of this content submission.
  - `Version` integer: Optional. The version number assigned to this Content Submission and the resulting Package. If not provided, version shall be 1 if it is the first content submission for the ContentDefinitionID otherwise it shall be the highest content submission version for the specified ContentDefinitionID incremented by 1.
  - `UserID` integer: Read Only. The ID of the user who submitted the content
  - `SubmissionDate` string, date-time: Read Only. The UTC date and time the content submission was made.
  - `JobRunID` integer: ReadOnly. The ID of the JobRun which will build the content package.
  - `BuildID` integer: ReadOnly. The ID of the Azure DevOps Build which will build the content package.
  - `PackageID` string: The ID of package generated by this content submission.
  - `ReleaseNotes` string: Release Notes for this ContentSubmission
  - `Attributes` ContentSubmissionSharedBusinessEntitiesContentSubmissionAttribute[]: Attributes of this ContentSubmission
    - `ID` integer: The ID of this attribute.
    - `ContentSubmissionID` integer: The ID of the content submission to which this attribute belongs.
    - `Name` string, required: The name of this Attribute.
    - `Value` string: The value of this Attribute
  - `Definition` 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 `204`

No Content

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