Back to Absence Code

POST Method Details for CreateRegistrationByHalfFullDay.

Create registration of absence with half/full day.

Definition

https://app[x].timelog.com/[account name]/api/v{version}/absence-code/registration-by-half-day

Parameters

  • model object The model.
    • AbsenceID integer Gets or sets the absence identifier.
    • Comment string Gets or sets the comment.
    • Date string Gets or sets the date.
    • Type integer Gets or sets the type.
    {
      "AbsenceID": 0,
      "Comment": "",
      "Date": "2024-12-22T00:00:00+00:00",
      "Type": 0
    }
  • version string The requested API version

Returns

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