NGOModifyAttachment

This call is used to modify an existing Attachment with a document. userUser can also modify Attachment on a specific page. userUser needs to pass only that values which needs to be changed.

 

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.

NGOModify

Attachment

N/A

CabinetName

Root

Name of the Cabinet to which User wants to connect.

The name of the Cabinet.

N/A

UserDBId

Root

UserDatabase ID that is returned in the NGOConnect

Cabinet call.

 

N/A

Attachment

Root

It is an Outer tag which Information about the Attachments.

 

 

ObjectIndex

Attachment

Unique index of the object for which User want to modify Attachment.

 

 

ObjectType

Attachment

Not Used.

 

 

PageNo

Attachment

Page number for which User want to attach Attachments

 

 

ISIndex

Attachment

Image Index and Volume Index of the Attachment separated by #.

 

 

Attachment

Name

Attachment

Name of the Attachment.

 

 

NewObjectName

Attachment

New Name of the Attachment.

 

 

 

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.

Attachment

Root

Contains information about Attachment.

ObjectIndex

Attachment

NOT Used.Index of the Object which is modified.

ObjectType

Attachment

NOT Used.

PageNo

Attachment

Page Number of the document where new Attachment is added.

ISIndex

Attachment

Image Index and Volume Index of the Attachment separated by #.

AttachmentName

Attachment

Name of the Attachment

 

Errors returned from call

Code

Message

Comments

-50065

Attachment does not exist.

Specified Attachment does not exist in the System.

-50023

Document not Found.

Document for which the User wants to modify Attachments not found 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 doesn’t 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.