DELETE api/TimeTrack/DeleteDriveLogAndGetRecord?driveInstance={driveInstance}&userId={userId}&projectId={projectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
driveInstance

string

Required

userId

string

Required

projectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DriveData
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

LoggedDate

date

None.

ProjectId

integer

None.

DriveInstance

globally unique identifier

None.

IsDriver

boolean

None.

AccountTypeId

integer

None.

Distance

integer

None.

Notes

string

None.

Project

string

None.

Task

string

None.

TaskId

string

None.

IsApproved

boolean

None.

ExternalProjectId

integer

None.

ExternalProject

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "UserId": "sample string 2",
    "LoggedDate": "2025-12-17T14:50:17.38085+01:00",
    "ProjectId": 1,
    "DriveInstance": "4a000869-0442-4fea-ab56-dca89dda28eb",
    "IsDriver": true,
    "AccountTypeId": 6,
    "Distance": 7,
    "Notes": "sample string 8",
    "Project": "sample string 9",
    "Task": "sample string 10",
    "TaskId": "sample string 11",
    "IsApproved": true,
    "ExternalProjectId": 1,
    "ExternalProject": "sample string 13"
  },
  {
    "Id": 1,
    "UserId": "sample string 2",
    "LoggedDate": "2025-12-17T14:50:17.38085+01:00",
    "ProjectId": 1,
    "DriveInstance": "4a000869-0442-4fea-ab56-dca89dda28eb",
    "IsDriver": true,
    "AccountTypeId": 6,
    "Distance": 7,
    "Notes": "sample string 8",
    "Project": "sample string 9",
    "Task": "sample string 10",
    "TaskId": "sample string 11",
    "IsApproved": true,
    "ExternalProjectId": 1,
    "ExternalProject": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDriveData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Core.ViewModels">
  <DriveData>
    <AccountTypeId>6</AccountTypeId>
    <Distance>7</Distance>
    <DriveInstance>4a000869-0442-4fea-ab56-dca89dda28eb</DriveInstance>
    <ExternalProject>sample string 13</ExternalProject>
    <ExternalProjectId>1</ExternalProjectId>
    <Id>1</Id>
    <IsApproved>true</IsApproved>
    <IsDriver>true</IsDriver>
    <LoggedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-17T13:50:17.38085Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </LoggedDate>
    <Notes>sample string 8</Notes>
    <Project>sample string 9</Project>
    <ProjectId>1</ProjectId>
    <Task>sample string 10</Task>
    <TaskId>sample string 11</TaskId>
    <UserId>sample string 2</UserId>
  </DriveData>
  <DriveData>
    <AccountTypeId>6</AccountTypeId>
    <Distance>7</Distance>
    <DriveInstance>4a000869-0442-4fea-ab56-dca89dda28eb</DriveInstance>
    <ExternalProject>sample string 13</ExternalProject>
    <ExternalProjectId>1</ExternalProjectId>
    <Id>1</Id>
    <IsApproved>true</IsApproved>
    <IsDriver>true</IsDriver>
    <LoggedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-17T13:50:17.38085Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>60</d3p1:OffsetMinutes>
    </LoggedDate>
    <Notes>sample string 8</Notes>
    <Project>sample string 9</Project>
    <ProjectId>1</ProjectId>
    <Task>sample string 10</Task>
    <TaskId>sample string 11</TaskId>
    <UserId>sample string 2</UserId>
  </DriveData>
</ArrayOfDriveData>