NGODeleteAttachment

This call is used to delete an Attachment from the document. UserUser can also delete selected Attachments by passing name of the Attachments.

 

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

Attachment

N/A

CabinetName

Root

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

The name of the Cabinet.

N/A

UserDBId

Root

UserDatabase ID, which is returned in the NGOConnect

Cabinet call.

 

N/A

DocumentIndex

Root

Unique Index of the document for which User want to delete Attachment.

 

N/A

Attachment

Name

Root

Name of Attachment to be deleted.

 

If not passed all Attachments for a given document will be deleted.

PageNo

Attachment

Page Number from which User want to delete Attachments.

 

 

 

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.

ISIndexes

Root

Parent Tag for Indexes of Image Server

ISIndex

ISIndexes

Image Server’s Index of the deleted Attachment

 

Errors returned from call

Code

Message

Comments

-50025

Document Not Found

Document, for which the User wants to add Attachments, does not exists in the System.

-50022

Insufficient rights for the current operation.

User must have change rights on document for which Attachments are to be added.

-50032

Insufficient rights for the current operation.

User does not have Rights on Data Class associated with document for which Attachments are to be added. User must have Read Rights on Data Class associated with document.