Get Attachment

 

Function Name: getGetAttachmentXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to attach a document to some document.

 

Input Parameters                                                   Sample InputXML

Output Parameters                                                Sample OutputXML

View xml API::NGOGetAttachments

 

Prototype:

 

public String getGetAttachmentXml (

                                                                   String cabinetName, String userDbId,

                                                                   String docIndex,

                                                                   String pageNo,

                                                                   String attachmentName,

                                                                   String versionNo

                                                                )

 

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 after the execution of getConnectCabinetXml call.

 

N/A

docIndex

Unique Index of the document for which User wants to get the List of Attachment.

 

N/A

pageNo

Page Number for which the User wants to get the List of Attachments.

 

0

attachmentName

Name of the Attachment that the User wants to fetch.

 

 

versionNo

Version Number for which the User wants to fetch Attachments.

 

Current Version

 

Output Parameters:

 

An inputXml string of the NGOGetAttachments call.