Back to Absence Code

POST Method Details for CreateRegistrationByFullDay.

Create registration of absence with full normal working time

Definition

https://app[x].timelog.com/[account name]/api/v{version}/absence-code/registration-by-full-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.
    {
      "AbsenceID": 0,
      "Comment": "",
      "Date": "2024-12-22T00:00:00+00:00"
    }
  • 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": ""
    }