Back to Employee Expense

PUT Method Details for Update.

Update employee expense

Definition

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

Parameters

  • model object New employee expense information
    • Amount number Gets or sets the amount.
    • Comment string Gets or sets the comment.
    • CurrencyID integer Gets or sets the currency identifier.
    • Date string Gets or sets the date.
    • EmployeeExpenseID integer Gets or sets the employee expense identifier.
    • ExchangeRate number Gets or sets the exchange rate.
    • ExpenseTypeID integer Gets or sets the expense type identifier.
    • IsBillable boolean Gets or sets a value indicating whether this instance is billable.
    • PaymentMethodID integer Gets or sets the payment method identifier.
    • 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,
      "ExchangeRate": 0.0,
      "ExpenseTypeID": 0,
      "IsBillable": false,
      "PaymentMethodID": 0,
      "ProjectID": 0,
      "VatAmount": 0.0
    }
  • version string The requested API version

Returns

  • [200] Expense was updated successfully
  • [401] Invalid authentication token
  • [500] Expense could not be updated
    • 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": ""
    }