MAPI Manual

NAME

DIALOGMAP_GETNODE

FUNCTION

Get a node from a dialog map

SYNOPSIS

dialogmap_id, dialogmap_node_id

DESCRIPTION

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

Required Parameters

* action: DIALOGMAP_GETNODE.
* dialogmap_id: ID of the dialog map.
* dialogmap_node_id: ID of the node.

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_node_id: ID of the node within the dialog map.
* layer_id: ID of the layer to which the node belongs. Multi-layer is supported within the dialog map.
* map_node_type_id: ID of the type of the node.
* mcp_funclass_id: ID of the function class of the node.
* map_node_related_id: ID of the related function of the node.
* title: title of the node.
* mcp_mark_id: mark ID of the node.
* mcp_taskfunc_id: ID of the task function.
* taskfunc_timestamp: date and time when the task function was created.
* mcp_funclass_id: ID of the function class.
* mcp_funtemplate_id: ID of the function template.
* funtemplate_timestamp: date and time when the function template was created.
* is_enable_upcontrol: specifies whether upcontrol is enabled.
* taskfunc_name: name of the task function.
* recipient_type: type of recipient.
* recipient_list: ID of the contact group.
* recipient_field: ID of the destination column within the contact group.
* is_recipient_autoincr: specifies whether recipient is auto incremented.
* recipient_loadincr_schedule
* mcp_contactbook_id: ID of the contact book.
* mcp_schedule_id_forcontact: ID of the schedule for contact.
* mcp_channeltype_id: type of the broadcasting channel. 
* router_name: name of the router.
* cando_node_id_list
* cando_user_type:
* cando_user_list:
* info_type: type of the information.
* tz_abbr: time zone abbreviation.
* mcp_schedule_id: ID of the schedule.
* begin_dt: the begin date and time.
* end_dt: the end date and time.
* calltime_type: type of the call time.
* isrepeat: specifies whether the task is repeated.
* repeat_schedule: schedule of the repeat.
* replywindow
* failed_maxretries: the maximum number of retries.
* task_remember:
* task_priority: priority of task.
* createtask_user_id: ID of the user who created the task.
* channel_config_xml:
* link_task:
* taskfunc_content: content of the task function.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_GETNODE&dialogmap_id=567&dialogmap_node_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_node_id">1</field>
    <field name="layer_id">0</field>
    <field name="map_node_type_id">0</field>
    <field name="mcp_funclass_id">1040</field>
    <field name="map_node_related_id">673</field>
    <field name="title">Send sms to a contact book</field>
    <field name="mcp_mark_id" />
    <resultset name="mcp_taskfunc">
        <row>
            <field name="mcp_org_id">10000</field>
            <field name="mcp_taskfunc_id">673</field>
            <field name="taskfunc_timestamp">2013-10-23 21:13:57</field>
            <field name="mcp_funclass_id">1040</field>
            <field name="mcp_funtemplate_id">0</field>
            <field name="funtemplate_timestamp">0</field>
            <field name="is_enable_upcontrol">0</field>
            <field name="taskfunc_name">send sms to a contactbook</field>
            <field name="recipient_type">2</field>
            <field name="recipient_list">0</field>
            <field name="recipient_field">2</field>
            <field name="is_recipient_autoincr">0</field>
            <field name="recipient_loadincr_schedule" />
            <field name="mcp_contactbook_id">0</field>
            <field name="mcp_schedule_id_forcontact">0</field>
            <field name="mcp_channeltype_id">sms</field>
            <field name="router_name">sms_default_allowall</field>
            <field name="cando_node_id_list" />
            <field name="cando_user_type">0</field>
            <field name="cando_user_list" />
            <field name="info_type">0</field>
            <field name="tz_abbr">TZ89</field>
            <field name="mcp_schedule_id">1</field>
            <field name="begin_dt">2013-01-01 10:00:00</field>
            <field name="end_dt">2014-12-01 20:00:00</field>
            <field name="calltime_type">MCPTYPE_ASAP</field>
            <field name="isrepeat">0</field>
            <field name="repeat_schedule" />
            <field name="replywindow">120</field>
            <field name="failed_maxretries">0</field>
            <field name="task_remember" />
            <field name="task_priority">0</field>
            <field name="createtask_user_id">0</field>
            <field name="channel_config_xml" />
            <field name="link_task" />
            <field name="taskfunc_content" id="581" datasource_type="MCPTYPE_FROMFIXED" datasource_list="">content: manly</field>
        </row>
    </resultset>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

DIALOGMAP_LISTNODES

Mweb v2.0 YVNTECH 2014