SetUserPreference

From Gvp-public
Revision as of 16:54, 19 August 2014 by Rcalvo (talk | contribs) (Created page with "{{Api_Method_Spec| Description=Set the preference for the user. This can be get using the getUserPreference. This method only can be accessed by logged user. |Parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Set the preference for the user. This can be get using the getUserPreference.

This method only can be accessed by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • name (String, required)
The name of the property that wants to set.
  • value (String, required)
The value for the preference.


Returns

Returns a JSON object containing a true for success.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": true
}

}


Exceptions


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also