MAPI Manual

NAME

UPDATE_CONTACTGROUP

FUNCTION

Update the details of a contact group

SYNOPSIS

contactgroup_id, contactbook_id, contactgroup_name, contactgroup_type, description

DESCRIPTION

This function allows users to update the details of a contact group.

Required Parameters

* action: UPDATE_CONTACTGROUP.
* contactgroup_id: ID of the contact group.
* contactbook_id: ID of the contact book that defines columns for the contact group.

Optional Parameters

* contactgroup_name: name of the contact group.
* contactgroup_type: the type of the contact group, e.g., "org_level".
* description: the description of the contact group.

RETURN DATA

The response contains the following attribute:
* msg: specifies the contact group has been updated 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=UPDATE_CONTACTGROUP&contactgroup_id=134&contactbook_id=1&contactgroup_name=TeamOne&contactgroup_type=org_level&description=UpdatedTeamOne&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

GET_CONTACTGROUP

Mweb v2.0 YVNTECH 2014