Difference between revisions of "GetUserTimestamp"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Get the history content has been watched by the user. All contents that the user accessed and did "play", a entry is made in his history. This h...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=Get the history content has been watched by the user. All contents that the user accessed and did "play", a entry is made in his history.
+
Description=Returns the TimeStamp of the last update of the user-related-data. This timestamp is updated when some user rights is changed.
This historic just work for movie contents, it means that only products of type movie.
+
These changes happen when the user rent a new product or buy some content, or when some content has expired.
  
The result is default ordered by the date of it has been included in the history.
+
This method only can be used by logged user.
 
 
This method only can be accessed by logged user.
 
  
 
|Parameters=
 
|Parameters=

Latest revision as of 16:58, 13 August 2014

Description

Returns the TimeStamp of the last update of the user-related-data. This timestamp is updated when some user rights is changed. These changes happen when the user rent a new product or buy some content, or when some content has expired.

This method only can be used by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.


Returns

Returns a JSON object containing a number that represent the timestamp.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": 1609459592

}


Exceptions

  • None


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