Increment Major Version Number
Creates a previous version for an item if versioning is enabled in the version control settings, and then increments the version number of the item to the next major version.
- Connect to the configuration web service. 
 - The user must have the write previous versions permission to the item.
 - Specify the identifier of the item.
 - Specify the version description.
 
Code Sample
# Increment the major version of the item.
$itemIdentifier = 1526;
$versionDescription = "Repurposed the item as a test server.";
$xia.DO_IncrementMajorVersionNumber($itemIdentifier, $versionDescription);