Back to Time Tracking Item

GET Method Details for GetByID.

Get the time tracking item by the time registration identifier

Definition

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

Parameters

  • timeRegistrationID integer Time registration identifier
  • version string The requested API version

Returns

  • [200] A time tracking item
    • AbsenceCode string Gets or sets the absence code.
    • AbsenceCodeID integer Gets or sets the absence code identifier.
    • AbsenceIsActive boolean Gets or sets the absence is active.
    • AbsenceName string Gets or sets the name of the absence.
    • AdditionalTextField string Gets or sets the additional text field.
    • AdditionalTextIsRequired boolean Gets or sets a value indicating whether [additional text is required].
    • AllocatedHour integer Gets or sets the allocated hour.
    • BillableHours number Gets or sets the billable hours.
    • BillableMinutes integer Gets or sets the billable minutes.
    • Comment string Gets or sets the comment.
    • Created string Gets or sets the created.
    • CreatedBy integer Gets or sets the created by.
    • CustomerID integer Gets or sets the customer identifier.
    • CustomerName string Gets or sets the name of the customer.
    • CustomerNo string Gets or sets the customer no.
    • Date string Gets or sets the date.
    • DefaultBillable boolean Gets or sets a value indicating whether [default billable].
    • EntityID integer Gets or sets the entity identifier.
    • EntityType integer Gets or sets the type of the entity.
    • Hours number Gets or sets the hours.
    • InvoiceStatus boolean Gets or sets a value indicating whether [invoice status].
    • IsBillable boolean Gets or sets a value indicating whether this instance is billable.
    • IsETCProject boolean Gets or sets a value indicating whether this instance is etc project.
    • IsFavourite boolean Gets or sets a value indicating whether this instance is favourite.
    • IsFixedPrice boolean Gets or sets the is fixed price.
    • LastModified string Gets or sets the last modified.
    • LastModifiedBy integer Gets or sets the last modified by.
    • Minutes integer Gets or sets the minutes.
    • MonthlyPeriod string Gets or sets the MonthlyPeriod
    • ProjectID integer Gets or sets the project identifier.
    • ProjectName string Gets or sets the name of the project.
    • ProjectNo string Gets or sets the project no.
    • ShowBillable boolean Gets or sets a value indicating whether [show billable].
    • Status boolean Gets or sets a value indicating whether this {TimeLog.TLP.Web.WebApi.V1.Registration.Models.TimeTrackingItem.TimeTrackingItemApiReadModel} is status.
    • TaskFullName string Gets or sets the full name of the task.
    • TaskID integer Gets or sets the task identifier.
    • TaskIsActive boolean Gets or sets the task is active.
    • TaskName string Gets or sets the name of the task.
    • TaskNo string Gets or sets the task no.
    • TimeRegistrationApprovalStatus integer Gets or sets a value indicating whether [time registration approval status].
    • TimeRegistrationID integer Gets or sets the time registration identifier.
    • TimeTrackingFormat integer Gets or sets the time tracking format.
    • UserID integer Gets or sets the user identifier.
    {
      "AbsenceCode": "",
      "AbsenceCodeID": 0,
      "AbsenceIsActive": false,
      "AbsenceName": "",
      "AdditionalTextField": "",
      "AdditionalTextIsRequired": false,
      "AllocatedHour": 0,
      "BillableHours": 0.0,
      "BillableMinutes": 0,
      "Comment": "",
      "Created": "2024-04-18T00:00:00+00:00",
      "CreatedBy": 0,
      "CustomerID": 0,
      "CustomerName": "",
      "CustomerNo": "",
      "Date": "2024-04-18T00:00:00+00:00",
      "DefaultBillable": false,
      "EntityID": 0,
      "EntityType": 0,
      "Hours": 0.0,
      "InvoiceStatus": false,
      "IsBillable": false,
      "IsETCProject": false,
      "IsFavourite": false,
      "IsFixedPrice": false,
      "LastModified": "2024-04-18T00:00:00+00:00",
      "LastModifiedBy": 0,
      "Minutes": 0,
      "MonthlyPeriod": "",
      "ProjectID": 0,
      "ProjectName": "",
      "ProjectNo": "",
      "ShowBillable": false,
      "Status": false,
      "TaskFullName": "",
      "TaskID": 0,
      "TaskIsActive": false,
      "TaskName": "",
      "TaskNo": "",
      "TimeRegistrationApprovalStatus": 0,
      "TimeRegistrationID": 0,
      "TimeTrackingFormat": 0,
      "UserID": 0
    }
  • [401] Invalid authentication token
  • [500] No time tracking item matching the identifier is found
    • 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": ""
    }