NGODeleteDocumentVersion

This call is used to delete the previous Versions of the document. The Version to be deleted is supplied in the Version Number tag of InputXml.

 

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.

NGODelete

DocumentVersion

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 NGOConnect

Cabinet call.

 

N/A

DocumentIndex

Root

It indicates the unique Index of the document whose Version comment is to be modified.

 

N/A

VersionNo

Root

It indicates the Version Number of the document, which the User wants to delete.

Please add 0.01 to all Version Number.

N/A

DeleteOlder

Root

It is a flag that indicates whether to delete the older Versions.

Y-delete all previous Versions.

N-do not delete previous Versions of the document.

N

 

Output Parameters description

Name

Parent Tag

Description

Option

Root

Unique option for the call.

Status

Root

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

ImageVolumeIndex

Root

It indicates the Volume Id of the deleted Version.

ISIndex

Root

Specifies a unique Combination of Image Index and Volume Index for a document stored on the Image Server separated by #. For example, 3#79.

 

Errors returned from call

Code

Message

Comments

 -50111

Invalid Version For Document.

The document Version specified does not exist for that document.

 -50022

Invalid rights on Document.

When the User does not have any Rights on the document.

 -50026

Document Locked.

When the document whose Version is being modified is locked.

 -50027

Document Finalized.

When the document whose Version is being modified is Finalized.

 -50071

Document check out.

When the document whose Version is being modified is checked out.

-50053

Check rights failed.

If User does not have Delete Rights on the document.

-50147

Version Locked.

When the document Version being deleted is locked.

 -50032

Invalid rights on DDI.

When User does not have Rights on the Data Class associated with the document.