Back to Task

POST Method Details for CreateRegistration.

Create registration with task and hour

Definition

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

Parameters

  • model object
    • AdditionalComment string Gets or sets the additional comment.
    • Billable boolean Gets or sets a value indicating whether this {TimeLog.TLP.Web.WebApi.V1.ProjectManagement.Models.TimeRegistration.TimeRegistrationApiCreateModel} 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.
    • 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 identifier.
    {
      "AdditionalComment": "",
      "Billable": false,
      "BillableHours": 0.0,
      "BillableMinutes": 0,
      "Comment": "",
      "Date": "2024-05-06T00:00:00+00:00",
      "Factor": 0.0,
      "Hours": 0.0,
      "Minutes": 0,
      "MonthlyPeriod": "",
      "TaskID": 0
    }
  • version string The requested API version

Returns

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