MAPI Manual

NAME

LIST_CONTACTGROUP_COLUMNS

FUNCTION

List the columns of a contact group

SYNOPSIS

contactgroup_id

DESCRIPTION

This function allows users to list the columns of a contact group.

Required Parameters

* action: LIST_CONTACTGROUP_COLUMNS.
* contactgroup_id: ID of the contact group.

RETURN DATA

The response contains the following attributes:
* mcp_org_id: organization ID.
* mcp_contactbook_id: ID of the contact book that defines the columns of the contact group.
* mcp_contactbook_column_id: ID of the contact column within the contact book.
* screen_title: title of the column on the screen.
* mcp_datatype_id: ID of the data type.  
* mcp_datatype_name: name of the data type.
* report_title: report title of the contact column.
* column_screen_order: specifies the sequence of the column on the screen.
* mcp_contactbook_fixcolumn_id: defines the fixed column ID within the system.

ROLE PERMITTED

All roles

EXAMPLES

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

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=LIST_CONTACTGROUP_COLUMNS&contactgroup_id=136&login_name=user@example.com&login_passwd=1111

Response:
<result tftype='1' infotype='0'>
    <resultset name='mcp_contactgroup_columns'>
        <row>
            <field name='mcp_org_id'>9000</field>
            <field name='mcp_contactbook_id'>1</field>
            <field name='mcp_contactbook_column_id'>1</field>
            <field name='screen_title'>name</field>
            <field name='mcp_datatype_id'>1</field>
            <field name='mcp_datatype_name'>TEXT</field>
            <field name='report_title'>name</field>
            <field name='column_screen_order'>1</field>
            <field name='mcp_contactbook_fixcolumn_id'>1001</field>
        </row>
        ...
        ...
    </resultset>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_CONTACTGROUPS

Mweb v2.0 YVNTECH 2014