MAPI Manual

NAME

ADD_COLUMN_TOCONTACTBOOK

FUNCTION

Add a column to a contact book

SYNOPSIS

contactbook_id, screen_title, datatype_id, report_title, column_screen_order, fixcolumn_id, is_key

DESCRIPTION

This function allows users to add a column to a contact book.

Required Parameters

* action: ADD_COLUMN_TOCONTACTBOOK.
* contactbook_id: ID of the contact book.
* screen_title: specifies the screen title of the column.
* datatype_id: ID of the data type.
* report_title: report title of the column.
* column_screen_order: a number specifying in which sequence the column is placed on the screen.

* fixcolumn_id: fixed ID of the column.

* is_key: specifies whether this column is the primary key. "1" means true; otherwise, value is "0".

RETURN DATA

The response contains the following attribute:
* msg: indicates the column has been added successfully.

ROLE PERMITTED

All roles

EXAMPLES

The following example shows a successful HTTP GET request and response.

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=ADD_COLUMN_TOCONTACTBOOK&contactbook_id=10&screen_title=Email&datatype_id=8&report_title=Email&column_screen_order=2&fixcolumn_id=1030&is_key=1&login_name=user@example.com&login_passwd=1111

Response:
<result tftype='1' infotype='0'>
        <field name='msg'>SUCCESS</field>
 </result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014