Get Versions of a Document

 

Function Name: getGetVersionListXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This call is used to get the List of Versions for the specified Document. User can also specify the Starting Version from where the fetch for the List of Versions has to begin.

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API::NGOGetVersionList

  

 

Prototype:

public String getGetVersionListXml(String cabinetName, String userDbId,

String docIndex, String startVersion,

String noOfRecordsToFetch)

 

Input Parameters:

Name

Description

Valid Values

Default Behavior

cabinetName

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

The name of the Cabinet.

N/A

userDbId

UserDatabase ID, which is returned in the ConnectCabinet call.

 

N/A

docIndex

The Document Index corresponding to which the Versions have to be retrieved.

Integer >0

N/A

startVersion

The last Version Number received in the previous batch.

X, Y where X>=1 and Y>=0

1.0

NoOfRecordsToFetch

Number of Records to be fetched for the current batch.

Integer >0

N/A

 

Output Parameters:

An inputXml string of the NGOGetVersionList call.