Back to Employee Projection

GET Method Details for GetInPeriod.

Get a list of employee projection in the period

Definition

https://app[x].timelog.com/[account name]/api/v{version}/employee-projection/get-in-period

Parameters

  • startDate string Start of the period
  • endDate string End of the period
  • version string The requested API version

Returns

  • [200] A list of employee projection
    • Date string Gets or sets the date.
    • HasRejectedTime boolean Gets or sets a value indicating whether this instance has rejected time.
    • ID string Gets or sets the identifier.
    • IsApproved boolean Gets or sets a value indicating whether this instance is approved.
    • IsClosed boolean Gets or sets a value indicating whether this instance is closed.
    • IsInClosedAccountingPeriod boolean Gets or sets a value indicating whether this instance is in closed accounting period.
    • NormalWorkingHours number Gets or sets the normal working hours.
    • NormalWorkingMinutes integer Gets or sets the normal working minutes.
    • NormalWorkingTimeDayOrder integer Gets or sets the normal working time day order.
    • ProjectionID integer Gets or sets the projection identifier.
    • User object Gets or sets the user.
    • UserID integer Gets or sets the user identifier.
    {
      "Date": "2024-04-26T00:00:00+00:00",
      "HasRejectedTime": false,
      "ID": "00000000-0000-0000-0000-000000000000",
      "IsApproved": false,
      "IsClosed": false,
      "IsInClosedAccountingPeriod": false,
      "NormalWorkingHours": 0.0,
      "NormalWorkingMinutes": 0,
      "NormalWorkingTimeDayOrder": 0,
      "ProjectionID": 0,
      "UserID": 0
    }
  • [401] Invalid authentication token
  • [500] Request to GetInPeriod 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": ""
    }