Difference between revisions of "GetUserChallengeCode"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Get the user data using the ChalengeCode. To get a ChallangeCode earlier should use the RegistrationService and the RegisterTrustedDeviceChalle...") |
|||
Line 31: | Line 31: | ||
: <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>, | : <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>, | ||
: <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 [[User]]</span> |
+ | : } | ||
} | } | ||
Latest revision as of 19:07, 18 September 2014
Description
Get the user data using the ChalengeCode.
To get a ChallangeCode earlier should use the RegistrationService and the RegisterTrustedDeviceChallenge to return a ChallengeCode and then use this method to get all information.
This method only can be used by a logged user.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- challenge (String, required)
- The challenge code registered on the user data.
Returns
Returns a JSON object containing a User object.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": {
- Object of User
- }
}
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 |