GET api/TimeTrack/GetDriveActivities?date={date}&userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
Required |
|
| userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DriveData| Name | Description | Type | Additional 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:47:10.0368622+01:00",
"ProjectId": 1,
"DriveInstance": "0a15c92d-9cc1-4eed-8b68-11c52faeeff9",
"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:47:10.0368622+01:00",
"ProjectId": 1,
"DriveInstance": "0a15c92d-9cc1-4eed-8b68-11c52faeeff9",
"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>0a15c92d-9cc1-4eed-8b68-11c52faeeff9</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:47:10.0368622Z</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>0a15c92d-9cc1-4eed-8b68-11c52faeeff9</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:47:10.0368622Z</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>