Back to User

GET Method Details for GetByID.

Get a user with the user identifier

Definition

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

Parameters

  • id integer User identifier
  • 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] No user matching the identifier was found
    • 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": ""
    }