Back to User

GET Method Details for GetCurrentUser.

Get the current user information

Definition

https://app[x].timelog.com/[account name]/api/v{version}/user/me

Parameters

  • version string The requested API version

Returns

  • [200] A user
    • FirstName string Gets or sets the first name.
    • ID string Gets or sets the identifier.
    • Initials string Gets or sets the initials.
    • IsActive boolean Gets or sets if the user is active.
    • LastName string Gets or sets the last name.
    • UserID integer Gets or sets the user identifier.
    • UserType string Gets or sets the user type.
    {
      "FirstName": "",
      "ID": "00000000-0000-0000-0000-000000000000",
      "Initials": "",
      "IsActive": false,
      "LastName": "",
      "UserID": 0,
      "UserType": ""
    }
  • [401] Invalid authentication token
  • [500] Request to GetCurrentUser has failed
    • Code integer Gets the code.
    • Details array Gets the details.
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }