MAPI Manual

NAME

DIALOGMAP_ADDMAP

FUNCTION

Add a dialog map without nodes and links

SYNOPSIS

template_id , template_timestamp, stencil_id , is_upcontrol, title, description, map_defaultvalue

DESCRIPTION

This function allows users to add a dialog map without nodes and links.

Required Parameters

* action: DIALOGMAP_ADDMAP.
* template_id: template ID of the dialog map.
* stencil_id: stencil ID.
* title: title of the dialog map.
* description: description of the dialog map.

Optional Parameters

* template_timestamp: date and time when the template was created.
* is_upcontrol: specifies whether upcontrol is enabled. "0" means upcontrol is disabled.
* map_defaultvalue: default value of the dialog map.

RETURN DATA

The response contains the following attribute:
* mcp_dialogmap_id: ID of the newly created dialog map.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DIALOGMAP_ADDMAP&template_id=3&stencil_id=1&title=sample%20rate%20service&description=sample%20service&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='mcp_dialogmap_id'>1628</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

ADD_DIALOGMAP_BY_TEMPLATE_STENCIL

Mweb v2.0 YVNTECH 2014