Difference between revisions of "GetTime"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
{{Api_Parameter| | {{Api_Parameter| | ||
− | ParamName= | + | ParamName=deviceType |
− | |ParamType= | + | |ParamType=[[deviceType]] |
|ParamRequired=required | |ParamRequired=required | ||
− | |ParamDescription=A valid | + | |ParamDescription=A valid deviceType. |
+ | }} | ||
+ | {{Api_Parameter| | ||
+ | ParamName=oauth_consumer_key | ||
+ | |ParamType=string | ||
+ | |ParamRequired=required | ||
+ | |ParamDescription=A valid oauth consumer key, matching the one linked in GVP for the specific deviceType. | ||
}} | }} | ||
Latest revision as of 13:22, 6 March 2015
Description
Return the time information from server in Timestamp format. The timestamp were in UTC format.
Parameters
- deviceType (deviceType, required)
- 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 |