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.

statusCodenumber

Will be 0 in case of success

messagestring

Contains the success message or error reason, based on the statusCode

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"
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.