MAPI Manual

NAME

BROADCAST_REPORT_DIALOGMAPNODES

FUNCTION

Broadcast report: summary of dialogmap nodes' activities

SYNOPSIS

broadcast_id, time_from, time_to

DESCRIPTION

This function allows users to get an activity summary of the dialog map nodes for a broadcast.

Required Parameters
* action: BROADCAST_REPORT_DIALOGMAPNODES.
* broadcast_id: broadcast ID.

Optional Parameters
* time_from: the start of the time frame. It searches the activities of the dialogmap nodes within the time frame. The time is expressed as "YYYY-MM-DD HH:MM:SS". Special characters must be URL encoded.
* time_to: the end of the time frame.

RETURN DATA

The response contains the following attributes:
* mcp_dialogmap_node_id: ID of the node within the dialog map.
* title: title of the node.
* outbound: count of outbound messages from this node.
* inbound: count of inbound messages to this node.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=BROADCAST_REPORT_DIALOGMAPNODES&broadcast_id=860&login_name=user@example.com&login_passwd=1111

Response:
<result tftype='1' infotype='0'>
    <resultset name="mcp_broadcast_report_dialogmapnodes">
        <row>
            <field name="mcp_dialogmap_node_id">1</field>
            <field name="title">Send sms to ask customer rate service</field>
            <field name="outbound">2</field>
            <field name="inbound">3</field>
        </row>
        <row>
            <field name="mcp_dialogmap_node_id">2</field>
            <field name="title">Send message to Manager, customer rate 1</field>
            <field name="outbound">1</field>
            <field name="inbound">0</field>
        </row>
        ...
        ...
    </resultset>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_BROADCAST_REPLIES, LIST_BROADCAST_TALKS

Mweb v2.0 YVNTECH 2014