MAPI Manual

NAME

UPDATE_COLUMN_INCONTACTBOOK

FUNCTION

Update the column of a contact book

SYNOPSIS

action: UPDATE_COLUMN_INCONTACTBOOK
contactbook_id
contactbook_column_id
screen_title
datatype_id
report_title
column_screen_order
fixcolumn_id

login_name
login_passwd
or  
login_name
session_id
or  
device_id

DESCRIPTION

This function allows users to update a column of a contact book. Both GET and POST methods can be used to perform the request. 

Required Parameters

* action: specifies the requested function. Sets to UPDATE_COLUMN_INCONTACTBOOK.
* contactbook_id: ID of the contact book.
* contactbook_column_id: ID of the column.
* screen_title: a string specifying the title of the column on the screen.
* 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.

* login_name: the login name for authenticating the user.
* login_passwd: the login password for authenticating the user.
or
* login_name: the login name for authenticating the user.
* session_id: the session ID for authenticating the user.
or
* device_id: a unique ID of the device. The system can use it as a key to identify users. 


RETURN DATA

For each valid request, the server provides a response in XML format. 
The response contains the following attribute:
* msg: a string indicating the column has been updated successfully.

For an invalid request, the response XML contains the following attribute:
* msg: a string containing the error message. 

ROLE PERMITTED

EXAMPLES

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

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=UPDATE_COLUMN_INCONTACTBOOK&contactbook_id=43&contactbook_column_id=1&screen_title=Firstname&datatype_id=1&report_title=firstname&column_screen_order=1&fixcolumn_id=1001&device_id=demoid

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

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014