Rep_CreateVersion - Web Services - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Web Services

Platform
Content Composer
Product
Web Services
Release
Foundation 23.2
License

Creates a new version of a specific item.

The user must have the permission to update an item of the specified type.

For creating a ReleaseVersion, the user must have the permission to create a ReleaseVersion

Syntax

Rep_CreateVersion(string sessionId,string systemName,string objectName,string objectType,string versionType,string versionLabel,out string xmlResult)
Parameter Description
sessionId Valid session identifier (SessionId)
systemName SystemOId
objectName Name of the object, if specified then objectType must be specified too
objectType Type of the object, if specified then objectName must be specified too
versionType Specifies the type of the new version, this is a string representation of the according RepositoryVersionType. Possible values:
  • "ReleaseVersion"
  • "WorkVersion"
versionLabel Label to be assigned to the new version
xmlResult Serialized MwsItemInfo XML object
  • Empty if no iteminfo exists (object not exist)
  • Contains the error message in case of an error

Return Value

Value Description
0 OK
<>0

Error

See Error Codes.