NGOCreateUserTable

This call is used for creating a userUser-defined table in the database. The userUser table Table can consistsconsist of Fields like Name, Age and other userUser related details.

 

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.

NGOCreate

Usertable

N/A

CabinetName

Root

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

 

N/A

UserDBId

Root

UserDatabase ID, which that is returned in the NGOConnect

Cabinet call.

 

N/A

TableName

Root

It indicates the nName of the User Ttable to be created.

 

N/A

Fields

Root

A List of fields, starting from the rRoot, is given between <Fields> and </Fields> tags.

 

N/A

Field

Fields

A list List of information about the field is given between the <Field> and </Field> tags.

 

N/A

Name

Field

It indicates the name Name of the Field.

 

N/A

Type

Field

It indicates the type Type of the Field ex (char, varchar etc)

 

N/A

Field Length

Field

It indicates the lLength of the field.

 

Will be used according to the default values for a particular datatype.

Attribute

Field

It indicates any Attribute or constraint associated with the field ex (Primary key etc.)

 

No attribute is set

Default

Field

It indicates the any Default value of the field, in case no value is specified.

 

No default value will be used for fields.

 

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.

 

Errors returned from call

Code

Message

Comments

-50180

User Table Already Exists

When we try to make a User table Table with the same name.

 -50074

Invalid Parameter.

When we do not specify any Table name Name, then exception is thrown.