1,521 bytes added
, 17:55, 28 August 2014
{{Api_Method_Spec|
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=
{{Api_Parameter|
ParamName=token
|ParamType=String
|ParamRequired=required
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
}}
{{Api_Parameter|
ParamName=challenge
|ParamType=String
|ParamRequired=required
|ParamDescription=The challenge code registered on the user data.
}}
|Returns=
Returns a JSON object containing a [[User]] object.
'''Example:'''
{
: <span style="color: #a11;">"StatusCode"</span>: <span style="color: #164;">0</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;">"Content"</span>:
:: { <span style="color: #219;">Object of [[User]]</span> }
}
|Exceptions=
* [[InvalidUserException]]
|Cache=
This method is not cached.
|KnownIssues=
* None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial method design
{{!}} Harley Cabral
{{!}}}
|SeeAlso=
}}