NGOPurgeAuditTrail

This call is used to purge customized audit. User can now define its customized events for audit to take place. It takes CabinetName, UserDBId, From-Date and To-Date for getting the audit information about the particular user and purging it. It returns the Status for the call.

 

Input Parameter description

View sample InputXml

Output Parameter description

View sample OutputXml

Errors and Warnings

 

 

Input Parameters description

Name

Parent Tag

Description

Valid Values

Default

Values

Option

Root

Unique option for the call

NGOPurgeAudit

Trail

N/A

CabinetName

Root

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

 

N/A

UserDBId

Root

UserDatabase ID, which is returned in the NGOConnectCabinet call.

 

N/A

DateFrom

Root

Date from which the audit is to be deleted. The date format is YYYY-MM-DD HH:MM:SS.

 

N/A

DateTo

Root

Date up to which the audit is to be deleted. The date format is YYYY-MM-DD HH:MM:SS.

 

N/A

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

NGOPurgeAuditTrail

Status

Root

Status of the call. If the Status is 0, then the call is successful.

 

Errors returned from call

Code

Message

Comments

-50074

Invalid parameters.

The value for some input parameter is not correct or is invalid.

-50146

Invalid session.

Session corresponding to the UserDBId sent in the call is invalid.

-50006

User account has expired.

The account of the user who attempts to purge the audit trail has expired.

-50010

User not alive.

The user who attempts to purge the audit trail is not alive.

-50125

Cabinet has been locked for Administrative purposes.

The Cabinet has been locked by some other user for Administrative purposes.