MAPI Manual

NAME

GET_AGILE_BYSTENCIL

FUNCTION

Get agile by stencil

SYNOPSIS

agile_id

DESCRIPTION

This function allows users to get the details of an agile activity.  

Required Parameters

* action: GET_AGILE_BYSTENCIL.
* agile_id: ID of the agile activity.

RETURN DATA

The response contains the following attributes:
*mcp_agile_id: agile ID.
*agile_title: agile title.
*status: status of the agile activity.
*status_dt: timestamp of the status.
*mcp_funtemplate_id: template ID.
*mcp_funtemplate_stencil_id: stencil ID.
*mcp_funtemplate_stencil: contains fields of the stencil.

ROLE PERMITTED

Manager

EXAMPLES

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

Request:
http://app02.yvntech.com/MapIHttpS/MapIS?action=GET_AGILE_BYSTENCIL&agile_id=915&login_name=name@example.com&login_passwd=1111

Response:
<result tftype='1' infotype='0'>
    <resultset name="mcp_agile">
        <row>
            <field name="mcp_agile_id">915</field>
            <field name="agile_title">test one</field>
            <field name="status">draftonly</field>
            <field name="status_dt">2014-08-11 12:32:35</field>
        </row>
    </resultset>
    <resultset name="mcp_taskfunc">
        <row>
            <field name="mcp_funtemplate_id">100</field>
            <field name="mcp_funtemplate_stencil_id">2</field>
            <resultset name="mcp_funtemplate_stencil">
                <row>
                    <field xlabel_id="10">12</field>
                    <field value_title="demo group three" xlabel_id="11">91</field>
                    <field value_title="Mobile" xlabel_id="12">2</field>
                    <field xlabel_id="13">Hi Stephen</field>
                </row>
            </resultset>
        </row>
    </resultset>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014