Get Document Count

 

Function Name: getGetDocStatusCountXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: Function gets the count of documents in a folder based on Status i.e., added or Read. When the document is added to the system its status is added.

 

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API::NGOGetDocStatusCount

  

 

Prototype:

 

public String getGetDocStatusCountXml

(

 

 

 

String cabinetName,

 

 

String userDBId,

 

 

String folderIndex,

 

 

String docStatus

 

)

 

 

Function Overload:

public String getGetDocStatusCountXml(String cabinetName, String userDBId,

                                                                           String folderIndex, String docStatus, String PriorityFlag)

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

FolderIndex

Unique index of the folder for which user wants to find the count of documents based on status.

Integer >= 0

N/A

DocStatus

Status of the document on the basis of which count is to be calculated.

‘A’ – Added

‘R’ - Read

 

priorityFlag

If PriorityFalg is ‘Y’ then count of those documents whose importance is marked as ‘HIGH’ will be given.

‘Y’ – Yes

‘N’ – No

 

 

Output Parameters:

Input Xml of call NGOGetDocStatusCount.