MAPI Manual

NAME

DIALOGMAP_ADDNODE

FUNCTION

Add a node to a dialog map

SYNOPSIS

dialogmap_id, title, node_type_id, funclass_id, related_id, mark_id, func_xml

DESCRIPTION

This function allows users to add a node to a dialog map.

Required Parameters

* action: DIALOGMAP_ADDNODE.
* dialogmap_id: ID of the dialog map.
* title: title of the node.
* node_type_id: ID of the node type.
* funclass_id: ID of the function class.
* related_id: related ID.
* mark_id: mark ID.
* func_xml: XML representation of the function of the node. Must be URL encoded.

RETURN DATA

The response contains the following attribute:
* mcp_dialogmap_node_id: ID of the newly added node.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_ADDNODE&dialogmap_id=632&title=send+sms+to+a+contactbook&node_type_id=1&funclass_id=1040&related_id=673&mark_id=1
&func_xml=&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='mcp_dialogmap_node_id'>6</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

DIALOGMAP_LISTNODES

Mweb v2.0 YVNTECH 2014