Difference between revisions of "RecoverPassword"

From Gvp-public
Jump to navigation Jump to search
Line 30: Line 30:
  
 
{
 
{
:    <span style="color: #a11;">"Offset"</span>: <span style="color: #164;">0</span>,
+
:    <span style="color: #a11;">"StatusCode"</span>: <span style="color: #164;">36</span>,
:    <span style="color: #a11;">"Limit"</span>: <span style="color: #164;">100</span>,
+
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">3</span>,
:    <span style="color: #a11;">"Count"</span>: <span style="color: #164;">6</span>,
+
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"E-mail inválido. Por favor, verifique seu e-mail cadastrado e tente novamente."</span>,
:    <span style="color: #a11;">"List"</span>:  
+
:    <span style="color: #a11;">"Content"</span>:  
::    [ <span style="color: #219;">Array of xxx objects</span> ]
+
::    [ <span style="color: #219;">[[Boolean]] status</span> ]
 
}
 
}
  

Revision as of 19:55, 3 June 2014

Description

Parameters

  • deviceType (int, required)
The device type code (see DeviceType enumeration to know the list of device types allowed)
  • instanceId (int, required)
The id of the instance (OB) for the current environment. This ID might vary depending on the environment.
  • userName (String, required)
E-mail from the user that wants to recover the password.


Returns

Returns a JSON object containing an array of xxx.

Example:

{

"StatusCode": 36,
"Severity": 3,
"StatusMessage": "E-mail inválido. Por favor, verifique seu e-mail cadastrado e tente novamente.",
"Content":
[ Boolean status ]

}


Exceptions

  • InvalidUserException
  • InvalidServiceErrorException


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