v1

latestSwagger 2.02026-07-13285166341.1 KB
ContentSubmissionTypes

Add a Content Submission Type

No Documentation Found.

post/api/v2/ContentSubmissionTypes

Request body

IDinteger

The ID of the Content Submission Type

Namestring required

The Name of the Content Submission Type

Descriptionstring required

A description for the Content Submission Type

ReleaseNotesDescriptionstring

A description of how release notes for this Content Submission Type are used

JobIDinteger

The ID of the JobDefinition for which to initiate a Job. A value of '0' will cause a submission to fail. Either 'BuildDefinitionID' or 'JobID' is required.

BuildDefinitionIDinteger

The ID of the Azure DevOps Build Definition for which to create a Build. Either 'BuildDefinitionID' or 'JobID' is required.

InventoryPackageIDstring

The ID of the Inventory Package from which to read the version of the package installed.

CategoryTemplatestring

A template for the category from which to read the version of the package installed. The following placeholders are valid: {ContentDefinitionType}, {ContentDefinitionID}, {ContentDefinitionName}

AttributeTemplatestring

A template for the Attribute from which to read the version of the package installed. The following placeholders are valid: {ContentDefinitionType}, {ContentDefinitionID}, {ContentDefinitionName}

Enabledboolean

Indicates whether this submission type is available to be used

Response

OK

integer required