NGODeleteReferences

This transaction is used to delete the sShortcuts of a document or a folder in other folder. DeleteAll flag enables deletion of all the rReferences anywhere in the sSystem for that folder or document.

 

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

References

N/A

CabinetName

Root

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

 

N/A

UserDBId

Root

User Database ID, whichthat is returned in the NGOConnect

Cabinet call.

 

N/A

CurrentDate

Time

Root

Current dDate and tTime.

yyyy-mm-dd hh:mm:ss

Current dDate and Time

FolderIndex

Root

Folder iIndex from where shortcuts have to be deleted.

Integer > 0

N/A

ObjectType

Root

Type of the shortcuts.

Folder or Document

D

DeleteAll

Root

Flag for deletinge all the shortcuts from the given oObject.

Y or N

N

ObjectIndex

Root

Object iIndex whose shortcuts haves to be deleted.

Integer > 0

N/A

 

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. Else, if less than zero, error is reported. Else warning is reported.

 

Errors returned from call

Code

Message

Comments

-50017

Folder not found.

Folder of  whose Rreference whas to dbe deleted or the fFolder from which, the rReference of the folder / document whas to be deleted does not exist.

-50123

No references exist for the Folder.

No rReference of the fFolder , whichthat whas to be deleted, does not exists.

-50121

No references exist for the Document.

The rReference of the document, which that has was  to be deleted from a particular fFolderr, does not exist in that fFolder.

-50018

Insufficient rights for the current operation.

User does not have sufficient rRights on the fFolder whose Reference has to be deleted and on the Folder in which the Reference of folder / document has to be deleted. of which the reference is to delete or on the folder from where reference of the folder/document is to be deleted. User must have rRead rRights on the fFolder whose of which the r Reference ihass to be deleted and cChange rRights on the fFolder from where the reference of the folder / document ihas to be deleted.

-50022

Insufficient rights for the current operation.

User does not have sufficient rRights on the document whose of which the rReference ihas to deleted. User must have reRead rRights on the document of which the reference Reference is has to deleted.

-50076

Invalid object access type.

Access tType of the document / folder whose rReference ihas to be deleted or the fFolder, whichthat possess the rReference to be deleted, is not valid.