Back to Time Registration

POST Method Details for UpdateTime.

Update existing time registration

Definition

https://app[x].timelog.com/[account name]/api/v{version}/time-registration/update-time

Parameters

  • model object New time information
    • AdditionalComment string Gets or sets the additional comment.
    • Billable boolean Gets or sets a value indicating whether this {TimeLog.TLP.Web.WebApi.V1.TimeRegistration.Models.TimeRegistration.TimeRegistrationApiUpdateTimeModel} is billable.
    • BillableHours number Gets or sets the billable hours.
    • BillableMinutes integer Gets or sets the billable minutes.
    • Comment string Gets or sets the comment.
    • Date string Gets or sets the date of the time registration.
    • Factor number Gets or sets the factor.
    • Hours number Gets or sets the hours.
    • Minutes integer Gets or sets the minutes.
    • MonthlyPeriod string Gets or sets the monthly period
    • TaskID integer Gets or sets the task id of the registration.
    • TimeRegistrationID integer Gets or sets the time registration identifier.
    {
      "AdditionalComment": "",
      "Billable": false,
      "BillableHours": 0.0,
      "BillableMinutes": 0,
      "Comment": "",
      "Date": "2024-12-22T00:00:00+00:00",
      "Factor": 0.0,
      "Hours": 0.0,
      "Minutes": 0,
      "MonthlyPeriod": "",
      "TaskID": 0,
      "TimeRegistrationID": 0
    }
  • version string The requested API version

Returns

  • [200] Time registration was updated successfully
  • [401] Invalid authentication token
  • [500] Time registration does not exist