MAPI Manual

NAME

USERAPPS_UPDATEDATA

FUNCTION

User app update a key-value data

SYNOPSIS

app_id, data_key, data_value

DESCRIPTION

The function allows users to update an existing key-value data.

Required Parameters

* action: USERAPPS_UPDATEDATA.

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

* data_key: the key of the data.

* data_value: value of the data.

RETURN DATA

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

ROLE PERMITTED

EXAMPLES

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

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

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

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

Mweb v2.0 YVNTECH 2014