GET api/timeTracking?projectId={projectId}&taskId={taskId}
Get detail info about a task's time tracking
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
taskId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get detail info about a task's time tracking
API_Data_TaskTimeTrackingDetailName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | TaskTimeTrackingDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "TimeTrackingOption": 1, "TimeDisplayFormat": 2, "TimeSpent": { "Total": { "Value": 1, "DisplayValue": "sample string 2" }, "History": [ { "TimeItemId": 1, "OwnerId": 2, "OwnerName": "sample string 3", "Date": "2024-12-21 18:59:23", "CategoryId": 1, "CategoryName": "sample string 4", "TimeValue": { "Value": 1, "DisplayValue": "sample string 2" }, "HoulyRate": 1.1, "Note": "sample string 5" }, { "TimeItemId": 1, "OwnerId": 2, "OwnerName": "sample string 3", "Date": "2024-12-21 18:59:23", "CategoryId": 1, "CategoryName": "sample string 4", "TimeValue": { "Value": 1, "DisplayValue": "sample string 2" }, "HoulyRate": 1.1, "Note": "sample string 5" } ] }, "TimeRemaining": { "Current": { "Value": 1, "DisplayValue": "sample string 2" }, "History": [ { "TimeValue": { "Value": 1, "DisplayValue": "sample string 2" }, "Date": "2024-12-21 14:59:23", "EstimatedByPersonId": 2, "EstimateBy": "sample string 3" }, { "TimeValue": { "Value": 1, "DisplayValue": "sample string 2" }, "Date": "2024-12-21 14:59:23", "EstimatedByPersonId": 2, "EstimateBy": "sample string 3" } ] } } }
application/xml, text/xml
Sample:
<API_Data_TaskTimeTrackingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d2p1:TimeDisplayFormat>2</d2p1:TimeDisplayFormat> <d2p1:TimeRemaining> <d2p1:Current> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:Current> <d2p1:History> <d2p1:TimeRemainingTrackingHistoryItem> <d2p1:Date>2024-12-21T18:59:23.5244152-08:00</d2p1:Date> <d2p1:EstimateBy>sample string 3</d2p1:EstimateBy> <d2p1:EstimatedByPersonId>2</d2p1:EstimatedByPersonId> <d2p1:TimeValue> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:TimeValue> </d2p1:TimeRemainingTrackingHistoryItem> <d2p1:TimeRemainingTrackingHistoryItem> <d2p1:Date>2024-12-21T18:59:23.5244152-08:00</d2p1:Date> <d2p1:EstimateBy>sample string 3</d2p1:EstimateBy> <d2p1:EstimatedByPersonId>2</d2p1:EstimatedByPersonId> <d2p1:TimeValue> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:TimeValue> </d2p1:TimeRemainingTrackingHistoryItem> </d2p1:History> </d2p1:TimeRemaining> <d2p1:TimeSpent> <d2p1:History> <d2p1:TimeSpentHistoryItem> <d2p1:CategoryId>1</d2p1:CategoryId> <d2p1:CategoryName>sample string 4</d2p1:CategoryName> <d2p1:Date>2024-12-21T18:59:23.5244152-08:00</d2p1:Date> <d2p1:HoulyRate>1.1</d2p1:HoulyRate> <d2p1:Note>sample string 5</d2p1:Note> <d2p1:OwnerId>2</d2p1:OwnerId> <d2p1:OwnerName>sample string 3</d2p1:OwnerName> <d2p1:TimeItemId>1</d2p1:TimeItemId> <d2p1:TimeValue> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:TimeValue> </d2p1:TimeSpentHistoryItem> <d2p1:TimeSpentHistoryItem> <d2p1:CategoryId>1</d2p1:CategoryId> <d2p1:CategoryName>sample string 4</d2p1:CategoryName> <d2p1:Date>2024-12-21T18:59:23.5244152-08:00</d2p1:Date> <d2p1:HoulyRate>1.1</d2p1:HoulyRate> <d2p1:Note>sample string 5</d2p1:Note> <d2p1:OwnerId>2</d2p1:OwnerId> <d2p1:OwnerName>sample string 3</d2p1:OwnerName> <d2p1:TimeItemId>1</d2p1:TimeItemId> <d2p1:TimeValue> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:TimeValue> </d2p1:TimeSpentHistoryItem> </d2p1:History> <d2p1:Total> <DisplayValue>sample string 2</DisplayValue> <Value>1</Value> </d2p1:Total> </d2p1:TimeSpent> <d2p1:TimeTrackingOption>1</d2p1:TimeTrackingOption> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_TaskTimeTrackingDetail>