Back to Time Registration

PUT Method Details for Update.

Update time registration

Definition

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

Parameters

  • timeRegistrationApiUpdateModel object The registration that needs to be updated
    • 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.TimeRegistrationApiUpdateModel} 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.
    • EntityID integer Gets or sets the entity identifier.
    • Factor number Gets or sets the factor.
    • GroupType integer Gets or sets the type of the group.
    • Hours number Gets or sets the hours.
    • ID string Gets or sets the identifier.
    • Minutes integer Gets or sets the minutes.
    • MonthlyPeriod string Gets or sets the monthly period.
    • TaskID integer Gets or sets the task identifier.
    • TimeTrackingFormat integer Gets or sets the time tracking format.
    • UserID integer Gets or sets the user identifier.
    {
      "AdditionalComment": "",
      "Billable": false,
      "BillableHours": 0.0,
      "BillableMinutes": 0,
      "Comment": "",
      "Date": "2024-04-25T00:00:00+00:00",
      "EntityID": 0,
      "Factor": 0.0,
      "GroupType": 0,
      "Hours": 0.0,
      "ID": "00000000-0000-0000-0000-000000000000",
      "Minutes": 0,
      "MonthlyPeriod": "",
      "TaskID": 0,
      "TimeTrackingFormat": 0,
      "UserID": 0
    }
  • version string The requested API version

Returns

  • [200] Time registration was updated
  • [401] Invalid authentication token
  • [500] Time registration 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": ""
    }