MAPI Manual

NAME

USERAPPS_GETDATA

FUNCTION

User app get a key-value data

SYNOPSIS

app_id, data_key

DESCRIPTION

The function allows users to get the data by key.

Required Parameters

* action: USERAPPS_GETDATA.

* app_id: the application ID. It specifies the application that the data is associated with.

* data_key: the data key.


RETURN DATA

The response contains the following attribute:

* data_value: the data value.

ROLE PERMITTED

EXAMPLES

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

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=USERAPPS_GETDATA&app_id=1&data_key=myKey&login_name=name@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name="data_value">myDataValue</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014