Users
Fetches the Login logs of all the users of a given date.
get/user/login/log
Query parameters
datestring
Example:2020-05-25
Date for which login logs should be fetched. Accepted format is YYYY-MM-DD.
pageNonumber required
Requested Page number
processNamestring
Example:Default Proccess
Name of the proccess for which login logs should be fetched. If the process name is missing or invalid, logs from all the process will be fetched
Response
If the auth token is valid.
Example response
{
"statusCode": 0,
"message": "Successfully fetched the users login logs",
"data": {
"metadata": [
{
"total": 2,
"page": 1
}
],
"data": [
{
"agentName": "Rohit Agarwal",
"event": "login",
"eventTime": 1660193241,
"modelName": "RMX1992",
"osVersion": "11"
},
{
"agentName": "Rohit Agarwal",
"event": "logout",
"eventTime": 1660193452,
"modelName": "RMX1992",
"osVersion": "11"
}
]
}
}