LoginRememberUser

From Gvp-public
Revision as of 19:45, 4 June 2014 by Rcalvo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Login Remember User do the login in the GVP using a valid token generated by the method RememberUser in the AuthenticationService. A new token will be generated and return in the login object.

Parameters

  • deviceType (int, required)
The device type code (see #DeviceTypeCodes 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.
  • tokenRememberUser (String, required)
A valid token for identifying the API session context. This token is generated by the RememberUser.


Returns

Returns a JSON containing the Login object.

Example:

{

Login object

}


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