GetTime

From Gvp-public
Jump to navigation Jump to search

Description

Return the time information from server in Timestamp format. The timestamp were in UTC format.

Parameters

A valid deviceType.
  • oauth_consumer_key (string, required)
A valid oauth consumer key, matching the one linked in GVP for the specific deviceType.


Returns

Returns a JSON object containing current timestamp.

Example:

{

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

}


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