MAPI Manual

NAME

DIALOGMAP_LISTLINKS

FUNCTION

List all links of a dialog map

SYNOPSIS

dialogmap_id

DESCRIPTION

This function allows users to list all links of a dialog map.

Required Parameters

* action: DIALOGMAP_LISTLINKS.
* dialogmap_id: ID of the dialog map.

RETURN DATA

The response contains the following attributes:
* mcp_dialogmap_link_id: ID of the link.
* title: title of the link.
* layer_id: ID of the layer. Multi-layer is supported within the dialog map.
* parent_dialogmap_node_id: ID of the parent node.
* respond_tz_abbr: time zone abbreviation of the location of the respondent.
* respond_mcp_schedule_id: schedule ID of the response.
* respond_contact_type: the contact type of the respondent.
* respond_contact_list: the contact list of the respondent.
* condition_type: type of the condition.
* condition_value: accepted value for the condition.
* child_dialogmap_node_id: ID of the child node.
* mcp_mark_id: mark ID.
* for_webc_map:
* delaytodo_second: the time of delay in seconds.
* link_priority: priority of the link.
* link_weight: link weight.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_LISTLINKS&dialogmap_id=567&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <resultset name='mcp_dialogmap_link'>
        <row>
            <field name='mcp_dialogmap_link_id'>1</field>
            <field name='title'>send SMS</field>
            <field name='layer_id'>0</field>
            <field name='parent_dialogmap_node_id'>0</field>
            <field name='respond_tz_abbr'>TZ89</field>
            <field name='respond_mcp_schedule_id'>1</field>
            <field name='respond_contact_type'>0</field>
            <field name='respond_contact_list'></field>
            <field name='condition_type'></field>
            <field name='condition_value'></field>
            <field name='child_dialogmap_node_id'>1</field>
            <field name='mcp_mark_id'>1</field>
            <field name='for_webc_map'></field>
            <field name='delaytodo_second'>0</field>
            <field name='link_priority'>0</field>
            <field name='link_weight'>0</field>
        </row>

       ...

       ...

    </resultset>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

DIALOGMAP_GETLINK, DIALOGMAP_LISTNODES

Mweb v2.0 YVNTECH 2014