Fetch Audit Trail 

 

Function Name: getFetchAuditTrailXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This call retrieves the audit trail information for a given action and it is an Application specific call. All the records satisfying the Fetch criteria are retrieved. All the log actions are encapsulated into major Categories.

 

Input Parameters

View sample InputXml

Output Parameters 

View sample OutputXml

View xml API::NGOFetchAuditTrail

 

 

Prototype:

 

public String getFetchAuditTrailXml(String cabinetName,String userDBId, String category,                                                                                                                 String objectIndex , String objectType, String userIndex,

                                  String dateFrom, String dateTo,String auditLogIndex,

  String noOfRecordsToFetch,String sortOrder)

 

Overloaded functions:

 

public String getFetchAuditTrailXml(String cabinetName,String userDBId, String category,                                                                                                                                                 String objectIndex , String objectType, String userIndex,

  String dateFrom, String dateTo)

 

Input Parameters description

Name

Description

Valid Values

Default

Values

cabinetName

Name of the cabinet to which the User wants to connect.

 

N/A

userDBId

UserDatabase ID, which is returned in the NGOConnectCabinet call.

 

N/A

category

Different log actions can be categorized into categories such as Cabinet, Folder, Document etc.

 

N/A

objectIndex

Index of the object whose audit trail is to be fetched.

Integer > 0

N/A

objectType

Type of the object e.g. F - Folder,

D - Document,

A – Actionitem etc.

 

N/A

dateFrom

Date onwards which audit trail is to be fetched.

 

N/A

dateTo

Date up to which the audit trail is to be fetched.

 

N/A

userIndex

Index of the user for which the audit trail is to be fetched.

Integer > 0

N/A

auditLogIndex

It is an integer, which specifies the number starting from which the Objects are to be taken from the Records in the Result Set.

 

Integer >= 0

0

noOfRecordsToFetch

Specifies the Number of records to be fetched

Integer > 0

 

sortOrder

Indicates whether search results are to be sorted in Ascending order or Descending order.

 

‘A’ – Ascending

‘D’- Descending

 

‘A’

 

 

Output Parameters:

An inputXmlInputXml string of the NGOFetchAuditTrail call.