Delete Attachment

 

Function Name: getDeleteAttachmentXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to delete a attachment on a document.

 

Input Parameters                                                              Sample InputXML

Output Parameters                                                           Sample OutputXML

View xml API::NGODeleteAttachments

 

Prototype:

 

public String getDeleteAttachmentXml (

                                                                          String cabinetName,

                                                                          String userDbId,

                                                                          String docIndex,

                                                                          String attachmentNames,

                                                                      )

 

Overloaded Functions:

 

public String getDeleteAttachmentXml (

                                                                          String cabinetName,

                                                                          String userDbId,

                                                                          String attachmentNames,

                                                                      )

 

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 want to delete Attachment.

 

N/A

attachmentNames

Name of the Attachments that the User wants to delete.

 

 

 

Output Parameters:

 

An inputXml string of the NGODeleteAttachments call.