MAPI Manual

NAME

DELETE_CONTACTGROUP

FUNCTION

Delete a contact group

SYNOPSIS

contactgroup_id, option_type

DESCRIPTION

This function allows users to delete a contact group, with the option of removing its data from the system completely.

Required Parameters

* action: DELETE_CONTACTGROUP.
* contactgroup_id: contact group ID.

Optional Parameter

* option_type: value is "DELETE_WITH_DATA". This will delete the contact group and remove its data from the system. Default is the contact group will be deleted, but its data will be stored in the system.

RETURN DATA

The response contains the following attribute:
* msg: specifies the contact group has been deleted successfully.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DELETE_CONTACTGROUP&contactgroup_id=152&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