POST api/TimeTrack/SaveTimeTrackAndGetRecords

Request Information

URI Parameters

None.

Body Parameters

TimeTrack
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

WorkTypeId

integer

None.

LoggedDate

date

None.

ProjectId

integer

None.

ExternalProjectId

integer

None.

TaskId

integer

None.

AccountTypeId

integer

None.

MachineTypeId

integer

None.

Time

integer

None.

Notes

string

None.

CreationDate

date

None.

CreatedBy

string

None.

ModificationDate

date

None.

ModifiedBy

string

None.

IsManagerUpdated

boolean

None.

IsApproved

boolean

None.

FromDate

date

None.

ToDate

date

None.

IsProductionManager

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "sample string 2",
  "WorkTypeId": 3,
  "LoggedDate": "2025-12-17T14:45:08.1936454+01:00",
  "ProjectId": 1,
  "ExternalProjectId": 1,
  "TaskId": 5,
  "AccountTypeId": 6,
  "MachineTypeId": 1,
  "Time": 7,
  "Notes": "sample string 8",
  "CreationDate": "2025-12-17T14:45:08.1936454+01:00",
  "CreatedBy": "sample string 10",
  "ModificationDate": "2025-12-17T14:45:08.1936454+01:00",
  "ModifiedBy": "sample string 12",
  "IsManagerUpdated": true,
  "IsApproved": true,
  "FromDate": "2025-12-17T14:45:08.1936454+01:00",
  "ToDate": "2025-12-17T14:45:08.1936454+01:00",
  "IsProductionManager": true
}

application/xml, text/xml

Sample:
<TimeTrack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Core.Entities">
  <AccountTypeId>6</AccountTypeId>
  <CreatedBy>sample string 10</CreatedBy>
  <CreationDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-17T13:45:08.1936454Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>60</d2p1:OffsetMinutes>
  </CreationDate>
  <ExternalProjectId>1</ExternalProjectId>
  <FromDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-17T13:45:08.1936454Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>60</d2p1:OffsetMinutes>
  </FromDate>
  <Id>1</Id>
  <IsApproved>true</IsApproved>
  <IsManagerUpdated>true</IsManagerUpdated>
  <IsProductionManager>true</IsProductionManager>
  <LoggedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-17T13:45:08.1936454Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>60</d2p1:OffsetMinutes>
  </LoggedDate>
  <MachineTypeId>1</MachineTypeId>
  <ModificationDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-17T13:45:08.1936454Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>60</d2p1:OffsetMinutes>
  </ModificationDate>
  <ModifiedBy>sample string 12</ModifiedBy>
  <Notes>sample string 8</Notes>
  <ProjectId>1</ProjectId>
  <TaskId>5</TaskId>
  <Time>7</Time>
  <ToDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-17T13:45:08.1936454Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>60</d2p1:OffsetMinutes>
  </ToDate>
  <UserId>sample string 2</UserId>
  <WorkTypeId>3</WorkTypeId>
</TimeTrack>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of TimeTrackData
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

LoggedDate

date

None.

ProjectId

integer

None.

ExternalProjectId

integer

None.

TaskId

integer

None.

AccountTypeId

integer

None.

WorkTypeId

integer

None.

MachineTypeId

integer

None.

Time

integer

None.

Project

string

None.

Task

string

None.

Notes

string

None.

IsApproved

boolean

None.

ExternalProject

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "UserId": "sample string 2",
    "LoggedDate": "2025-12-17T14:45:08.2194901+01:00",
    "ProjectId": 1,
    "ExternalProjectId": 1,
    "TaskId": 4,
    "AccountTypeId": 5,
    "WorkTypeId": 6,
    "MachineTypeId": 1,
    "Time": 7,
    "Project": "sample string 8",
    "Task": "sample string 9",
    "Notes": "sample string 10",
    "IsApproved": true,
    "ExternalProject": "sample string 12"
  },
  {
    "Id": 1,
    "UserId": "sample string 2",
    "LoggedDate": "2025-12-17T14:45:08.2194901+01:00",
    "ProjectId": 1,
    "ExternalProjectId": 1,
    "TaskId": 4,
    "AccountTypeId": 5,
    "WorkTypeId": 6,
    "MachineTypeId": 1,
    "Time": 7,
    "Project": "sample string 8",
    "Task": "sample string 9",
    "Notes": "sample string 10",
    "IsApproved": true,
    "ExternalProject": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimeTrackData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Core.ViewModels">
  <TimeTrackData>
    <AccountTypeId>5</AccountTypeId>
    <ExternalProject>sample string 12</ExternalProject>
    <ExternalProjectId>1</ExternalProjectId>
    <Id>1</Id>
    <IsApproved>true</IsApproved>
    <LoggedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-17T13:45:08.2194901Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </LoggedDate>
    <MachineTypeId>1</MachineTypeId>
    <Notes>sample string 10</Notes>
    <Project>sample string 8</Project>
    <ProjectId>1</ProjectId>
    <Task>sample string 9</Task>
    <TaskId>4</TaskId>
    <Time>7</Time>
    <UserId>sample string 2</UserId>
    <WorkTypeId>6</WorkTypeId>
  </TimeTrackData>
  <TimeTrackData>
    <AccountTypeId>5</AccountTypeId>
    <ExternalProject>sample string 12</ExternalProject>
    <ExternalProjectId>1</ExternalProjectId>
    <Id>1</Id>
    <IsApproved>true</IsApproved>
    <LoggedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-17T13:45:08.2194901Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </LoggedDate>
    <MachineTypeId>1</MachineTypeId>
    <Notes>sample string 10</Notes>
    <Project>sample string 8</Project>
    <ProjectId>1</ProjectId>
    <Task>sample string 9</Task>
    <TaskId>4</TaskId>
    <Time>7</Time>
    <UserId>sample string 2</UserId>
    <WorkTypeId>6</WorkTypeId>
  </TimeTrackData>
</ArrayOfTimeTrackData>