Back to Role

GET Method Details for GetAll.

Get all roles

Definition

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

Parameters

  • version string The requested API version

Returns

  • [200] A list of roles
    • Description string Gets or sets the Description.
    • ID string Gets or sets the identifier.
    • IsActive boolean Gets or sets a value indicating whether this instance is active.
    • IsLockedSystemRole boolean Gets or sets a value indicating whether this instance is a locked system role.
    • Name string Gets or sets the name.
    • RoleID integer Gets or sets the Role identifier.
    {
      "Description": "",
      "ID": "00000000-0000-0000-0000-000000000000",
      "IsActive": false,
      "IsLockedSystemRole": false,
      "Name": "",
      "RoleID": 0
    }
  • [401] Invalid authentication token
  • [500] Request to GetAll 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": ""
    }