Function Name: getPostDocumentXml
Class: com.newgen.dmsapi.DMSInputXml
Description: This function is used to post a set of documents to the Inbox Folder of a particular User.
|
Prototype:
public String getPostDocumentXml |
( |
String cabinetName, |
|
|
String userDbId, |
|
|
String currDateTime, |
|
|
String userIndex, |
|
|
String documentList, |
|
|
String parentFolderIndex |
|
) |
|
Function Overloaded:
public String getPostDocumentXml ( String cabinetName,
String userDbId,
String currDateTime,
String userIndex,
String documentList,
String parentFolderIndex,
String nameLength,
String rightsFlag
)
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 |
currDateTime |
Date and Time at which this operation is being performed. |
Valid Date in the format- yyyy-mm-dd hh:mm:ss |
Current System Date and Time. |
UserIndex |
Index of the User, to whose Inbox Folder, the documents are being posted. |
Integer > =0 |
N/A |
documentList |
List of the documents to be posted. |
Integer >= 0 |
NULL |
parentFolderIndex |
Index of the Parent Folder whose documents are being posted. |
Integer >=0 |
NULL |
nameLength |
The maximum length of document name supported by JTS is 255 characters but, if the User wishes that the maximum length of document name is lesser than 255 characters then it can be specified in the tag. The Document Name, if larger than the NameLength, will then be truncated to the specified length. This parameter is required when we have to generate a new name for the document, as some document with the same name already exists in the Inbox of the User specified. |
Integer >0 |
NULL |
Input Xml of call NGOPostDocument.