Runs when the user opens Login History (LoginHistoryFragment -> LoginHistoryViewModel -> LoginHistoryRepositoryImp.fetchLoginHistory). The rows are saved as JSON in SharedPreferences KEY_LOGIN_HISTORY and listed from there, showing each login date and the number of devices. Offline or failed calls show "no internet" or "Something went wrong" and the last cached list.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Passed explicitly as @Header from AndroidSessionManager.sessionId. AuthInterceptor still retries once with a fresh token on 401 or 400.
Parameters
Param
In
Required
Example
Notes
name
query
Yes
PlusOneCadreLoginHistory
Hard-coded in the @GET path with version and format.
version
query
Yes
1
Dataset version. Always 1.
format
query
Yes
json
Response format. Always json, so the body is a JSON array of row objects.
params
query
Yes
CADRE_LOGIN=9XXXXXXXX1@@tenant.example
Dataset input parameters as KEY=value pairs joined with "--". CADRE_LOGIN = AndroidSessionManager.userId as-is (here the full user id is sent, not trimmed at "@@").