MAPI Manual

NAME

ADD_CONTACTGROUP

FUNCTION

Add a contact group

SYNOPSIS

contactbook_id, contactgroup_name, contactgroup_type, description

DESCRIPTION

This function allows users to add a contact group.

Required Parameters

* action: ADD_CONTACTGROUP.
* contactbook_id: ID of the contact book.
* contactgroup_name: name of the contact group.

Optional Parameters

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

RETURN DATA

The response contains the following attribute:
* mcp_contactgroup_id: ID of the newly added contact group.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=ADD_CONTACTGROUP&contactbook_id=1&contactgroup_name=NewTeam&contactgroup_type=org_level&description=NewlyAddedGroup&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='mcp_contactgroup_id'>156</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_CONTACTBOOKS

Mweb v2.0 YVNTECH 2014