Back to Normal Working Time

POST Method Details for AssignToEmployee.

Assigns an employee to a new normal working time

Definition

https://app[x].timelog.com/[account name]/api/v{version}/normal-working-time/assign-to-employee

Parameters

  • assignment object Normal working time id, user id and start date
    • NormalWorkingTimeId integer
    • StartsAt string
    • UserId integer
    {
      "NormalWorkingTimeId": 0,
      "StartsAt": "2024-12-22T00:00:00+00:00",
      "UserId": 0
    }
  • version string The requested API version

Returns

  • [200] OK
  • [401] Invalid authentication token
  • [500] Request to AssignToEmployee 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": ""
    }