MAPI Manual

NAME

DIALOGMAP_ADDLINK

FUNCTION

Add a link to a dialog map

SYNOPSIS

dialogmap_id, title, parent_node_id, respond_tz_abbr, respond_schedule_id, respond_contact_type, respond_contact_list, condition_type, condition_value, child_node_id, link_priority, delaytodo_second, link_weight, mark_id, for_webc_map

DESCRIPTION

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

Required Parameters

* action: DIALOGMAP_ADDLINK.
* dialogmap_id: ID of the dialog map.
* title: title of the link.
* parent_node_id: ID of the parent node of the link.
* respond_tz_abbr: the time zone abbreviation of the location of the respondent.
* respond_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: value for the condition.
* child_node_id: ID of the child node of the link.
* link_priority: priority of the link.
* delaytodo_second: the time of delay in seconds.
* link_weight: link weight.
* mark_id: mark ID of link.
* for_webc_map

RETURN DATA

The response contains the following attribute:
* mcp_dialogmap_link_id: ID of the newly added link.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_ADDLINK&dialogmap_id=1626&title=new%20link&parent_node_id=1&respond_tz_abbr=TZ89&respond_schedule_id=1&respond_contact_type=0&child_node_id=2&link_priority=0&delaytodo_second=0&link_weight=0&mark_id=1&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='mcp_dialogmap_link_id'>9</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

DIALOGMAP_ADDNODE, DIALOGMAP_LISTLINKS

Mweb v2.0 YVNTECH 2014