MAPI Manual

NAME

DIALOGMAP_GETLINK

FUNCTION

Get a link of a dialog map

SYNOPSIS

dialogmap_id, dialogmap_link_id

DESCRIPTION

This function allows users to get the information of a link of a dialog map.

Required Parameters

* action: DIALOGMAP_GETLINK.
* dialogmap_id: ID of the dialog map.
* dialogmap_link_id: ID of the link.

RETURN DATA

The response contains the following attributes:
* mcp_org_id: ID of the organization.
* mcp_dialogmap_id: ID of the dialog map.
* mcp_dialogmap_link_id: ID of the link.
* layer_id: ID of the layer to which the link belongs. Multi-layer is supported within the dialog map.
* parent_dialogmap_node_id: ID of the parent node.
* respond_tz_abbr: the 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.
* title: title of the link.
* 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 request and response.

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_GETLINK&dialogmap_id=1626&dialogmap_link_id=1&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name="mcp_org_id">10000</field>
    <field name="mcp_dialogmap_id">567</field>
    <field name="mcp_dialogmap_link_id">1</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 name="condition_type" />
    <field name="condition_value" />
    <field name="child_dialogmap_node_id">1</field>
    <field name="title">send SMS</field>
    <field name="mcp_mark_id">1</field>
    <field name="for_webc_map" />
    <field name="delaytodo_second">0</field>
    <field name="link_priority">0</field>
    <field name="link_weight">0</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

DIALOGMAP_LISTLINKS

Mweb v2.0 YVNTECH 2014