Delete Document Version

 

Function Name: getDeleteDocumentVersionXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function can be used to delete the previous Versions of the document. The Version to be deleted is supplied in the VersionNo parameter

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API::NGODeleteDocumentVersion

  

 

Prototype:

 

public String getDeleteDocumentVersionXml

(

 

 

 

String cabinetName,

 

 

String userDbId,

 

 

String docIndex,

 

 

String versionNo,

 

 

String deleteOlder

 

)

 

 

 

Input Parameters:

Name

Description

Valid Values

Default Behavior

cabinetName

Name of the database Cabinet to which the User wants to connect.

 

N/A

UserDbId

UserDatabase ID, which is returned in the ConnectCabinet call.

 

N/A

documentIndex

It indicates the unique Index of the document whose Version Comment has to be modified.

 

N/A

VersionNo

It indicates the Version Number of the document that the User wants to delete.

Please add 0.01 to all Version Number.

N/A

DeleteOlder

It is a Flag that indicates whether the Older Versions have to be deleted or not.

Y - delete all previous Versions.

N - do not delete previous Versions of the document.

N

 

Output Parameters:

Input Xml of call NGODeleteDocumentVersion.