NGODeleteDataDefinition

This call is used to remove an existing Data Class from the systemSystem. The deletion of Data Class depends on the DeleteFlag.

 

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

DataDefinition

N/A

CabinetName

Root

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

 

N/A

UserDBId

Root

User Database ID, which is returned in the NGOConnect

Cabinet call.

 

N/A

DataDefIndex

Root

Check the existence of the dData dDefinition.

Integer > 0

N/A

DeleteFlag

Root

Flag, which that specifies whether to delete dData dDefinition.

1- Data Class will only be deleted if it is not associated with any folder or document, else error will be returned.

2- Data Class can be deleted even if it is associated with any folder or document. But in the case, no data should exist. That is Data Class is simply associated with object.

 

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

-50028

Data Class not found.

Data Class for the given index Index was not found.

-50185

Cannot delete Data Class.

This exception will come when the User tries to delete a Data Class of type “ACT” which is reserved.

-50032

Insufficient rights for the current operation.

User was going to delete fields on which User does not havehas rRights to delete.

-50029

Data Class associated with the folder.

Data Class is associated with some object.

-50033

Data Class contains data.

The Data Class is associated with some object and contains data.

-50116

Insufficient privileges for the current operation.

Insufficient privileges to delete data Data definitionDefinition.