Difference between revisions of "GetAllTrustedDevices"

From Gvp-public
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
This method only can be used by logged user.
 
This method only can be used by logged user.
 +
 +
The result is default ordered by the ID field.
  
 
|Parameters=
 
|Parameters=
Line 15: Line 17:
  
 
|Returns=
 
|Returns=
Returns a JSON object containing a list of [[TrustedDeviceList]] object.
+
Returns a JSON object containing a [[TrustedDeviceList]] object.
  
 
'''Example:'''
 
'''Example:'''
Line 24: Line 26:
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"Content"</span>:  
 
:    <span style="color: #a11;">"Content"</span>:  
::    { <span style="color: #219;"> Object of [[TrustedDeviceList]] </span> }
+
::    { <span style="color: #219;"> Oject of [[TrustedDeviceList]] </span> }
 
}
 
}
  

Latest revision as of 21:39, 15 September 2014

Description

Get All available trusted devices already registered by the user. The trusted device is the device that the user have been used to login by login and password. Once this device is logged it is added to the trusted device list.

This method only can be used by logged user.

The result is default ordered by the ID field.

Parameters

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


Returns

Returns a JSON object containing a TrustedDeviceList object.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
{ Oject of TrustedDeviceList }

}


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