Back to Employee Expense

GET Method Details for GetAll.

Get all the employee expenses

Definition

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

Parameters

  • userID integer User identifier (optional)
  • version string The requested API version

Returns

  • [200] A list of employee expense
    • Amount number Gets or sets the amount.
    • Comment string Gets or sets the comment.
    • Currency object Gets or sets the currency.
    • CurrencyID integer Gets or sets the currency identifier.
    • Date string Gets or sets the date.
    • EmployeeExpenseID integer Gets or sets the employee expense identifier.
    • EmployeeUserID integer Gets or sets the employee user identifier.
    • ExchangeRate number Gets or sets the exchange rate.
    • ExpenseType object Gets or sets the type of the expense.
    • ExpenseTypeID integer Gets or sets the expense type identifier.
    • FileUrls array Gets or sets the all file attachments url
    • HasReceiptPictures boolean Gets or sets a value indicating whether this instance has receipt pictures.
    • ImageUrls array Gets or sets the image urls. Does not contain urls for other file types
    • IsBillable boolean Gets or sets a value indicating whether this instance is billable.
    • IsFileUrlLoaded boolean Gets or sets a value indicating whether this instance is file URL loaded.
    • IsImageUrlLoaded boolean Gets or sets a value indicating whether this instance is image URL loaded.
    • Number string Gets or sets the number.
    • PaymentMethod object Gets or sets the payment method.
    • PaymentMethodID integer Gets or sets the payment method identifier.
    • Project object Gets or sets the project.
    • ProjectID integer Gets or sets the project identifier.
    • VatAmount number Gets or sets the vat amount.
    {
      "Amount": 0.0,
      "Comment": "",
      "CurrencyID": 0,
      "Date": "2024-12-22T00:00:00+00:00",
      "EmployeeExpenseID": 0,
      "EmployeeUserID": 0,
      "ExchangeRate": 0.0,
      "ExpenseTypeID": 0,
      "FileUrls": "",
      "HasReceiptPictures": false,
      "ImageUrls": "",
      "IsBillable": false,
      "IsFileUrlLoaded": false,
      "IsImageUrlLoaded": false,
      "Number": "",
      "PaymentMethodID": 0,
      "ProjectID": 0,
      "VatAmount": 0.0
    }
  • [401] Invalid authentication token
  • [500] Employee expense with the user identifier does not exist
    • 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": ""
    }