MAPI Manual

NAME

USERAPPS_ADDDATA

FUNCTION

User app add key-value data

SYNOPSIS

app_id, data_key, data_value

DESCRIPTION

This function allows users to add key-value mapped data.

Required Parameters

* action: USERAPPS_ADDDATA.

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

* data_key: the data key.

* data_value: the data value.

RETURN DATA

The response contains the following attribute:
* msg: indicates the data has been added successfully.

ROLE PERMITTED

EXAMPLES

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

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

Response:
<result tftype='1' infotype='0'>
    <field name='msg'>SUCCESS</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

SEE ALSO

Mweb v2.0 YVNTECH 2014