---
title: "Get ContentSubmissions"
method: GET
path: "/api/v2/ContentSubmissions"
tags: ["ContentSubmissions"]
---

# Get ContentSubmissions

`GET /api/v2/ContentSubmissions`

## Request

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

Gets a collection of ContentSubmissions. When successful, the response is a PagedResponse of ContentSubmissions. Additional searches: attributes[Name]=Value. This can be used to search for submissions that have the specified values for attributes. Beginning and ending wildcard (*) supported for value.
            If unsuccessful, an appropriate ApiError is returned.

## Query parameters

- `limit` integer
- `offset` integer
- `userID` integer
- `contentDefinitionID` integer
- `includeAttributes` string
- `releaseID` integer
- `typeID` integer
- `version` integer
- `includeDefinition` boolean

## Response `200`

OK

- APIPagedResponseContentSubmissionSharedBusinessEntitiesContentSubmission: A response containing a page of results and metadata concerning the results
  - `Metadata` APIPagedResponseMetadata, required: Metadata for the paged response
    - `TotalCount` integer, required: The total number of entities matching the request.
    - `Limit` integer, required: The number of entities this paged response is limited to.
    - `Offset` integer, required: The number of entities prior to this page of items.
  - `Entities` ContentSubmissionSharedBusinessEntitiesContentSubmission[], required: The set of entities that make up this page.
    - `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

## Other responses

- `default`: API Error Response

## Changes

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

[Operation history](https://skmtc.dev/agco-ats/apis/agco-ats-api/changes/api/v2/ContentSubmissions/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)
