Back to Absence Code

POST Method Details for CreateTimeTracker.

Create registration of absence with half the normal working time

Definition

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

Parameters

  • model object Contains the type which should be half day (0)
    • AbsenceCodeID integer Gets or sets the absence code identifier.
    • Comment string Gets or sets the comment.
    • Minute integer Gets or sets the minute.
    • TimeRegistrationID integer Gets or sets the time registration identifier.
    {
      "AbsenceCodeID": 0,
      "Comment": "",
      "Minute": 0,
      "TimeRegistrationID": 0
    }
  • version string The requested API version

Returns

  • [200] Time tracker created
  • [401] Invalid authentication token
  • [500] Request to CreateTimeTracker has failed
    • 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": ""
    }