GET api/TrackTimeRecords/GetRecord/{id}
Gets the track time's details.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetTrackTimeRecordResultName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the Track time record. |
integer |
None. |
Description |
Description of the Track time record. |
string |
None. |
AssignedToUserFullName |
Full name of the User assigned to the Track time record. |
string |
None. |
AssignedToUserProviderKey |
Provider key of the User assigned to the Track time record. |
string |
None. |
Count |
Only if Type of Activity is general otherwise null. |
decimal number |
None. |
CreatedByUserFullName |
Full Name of User who created the Track time record. |
string |
None. |
CreatedByUserProviderKey |
Provider key of User who created the Track time record. |
string |
None. |
CreatedUTC |
The creation time of the Track time record in UTC. |
date |
None. |
Currency |
The currency of the Track time record. |
CurrencyEnum |
None. |
Price |
The price for one unit of the Track time record. |
decimal number |
None. |
CustomerId |
Customer id, if any. |
integer |
None. |
CustomerName |
Customer name, if any. |
string |
None. |
DurationInSeconds |
Only if Type of Activity is time otherwise null. |
integer |
None. |
FromUtc |
Only if Type of Activity is time otherwise null. |
date |
None. |
UntilUtc |
Only if Type of Activity is time otherwise null. |
date |
None. |
InvoiceState |
Inovice state of the Track time record. |
InvoiceStateEnum |
None. |
TicketId |
Ticket id, if any. |
integer |
None. |
TicketREF |
Ticket ref, if any. |
string |
None. |
TrackTimeProjectId |
Track time project id, if any. |
integer |
None. |
TrackTimeProjectName |
Track time project name, if any. |
string |
None. |
Activity |
Base information about Activity. |
ActivityData |
None. |
LastUpdatedByUserProviderKey |
Last updated by user provider key of the Track time record. |
string |
None. |
LastUpdatedUtc |
Last updated utc of the Track time record. |
date |
None. |
DateOfImplementationUtc |
Only if Type of Activity is General otherwise null. |
date |
None. |
GeneralUnitLabel |
General unit label is filled if Activity type is general. |
string |
None. |
TimeUnit |
Unit type is filled if Activity type is time. |
ActivityUnitEnum |
None. |
TotalPrice |
Total price of the Track time record. |
decimal number |
None. |
Approved |
If true, the track time record is approved. |
boolean |
None. |
ApprovedChangedByUserProviderKey |
Last user Id who changed the approval value. |
string |
None. |
ApprovedChangedUtc |
Last date when the approval value was changed. |
date |
None. |
InvoiceDate |
The Invoice date that user set to track time record |
date |
None. |
InvoiceNumber |
The Invoice number that user set to track time record |
string |
None. |
SelectedCategories |
The categories selected during creating or editing |
Collection of CategoryData |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "Description": "sample string 2", "AssignedToUserFullName": "sample string 3", "AssignedToUserProviderKey": "sample string 4", "Count": 1.1, "CreatedByUserFullName": "sample string 5", "CreatedByUserProviderKey": "sample string 6", "CreatedUTC": "2024-12-22T10:42:28.1843939+01:00", "Currency": 1, "Price": 8.1, "CustomerId": 1, "CustomerName": "sample string 9", "DurationInSeconds": 1, "FromUtc": "2024-12-22T10:42:28.1843939+01:00", "UntilUtc": "2024-12-22T10:42:28.1843939+01:00", "InvoiceState": 1, "TicketId": 1, "TicketREF": "sample string 10", "TrackTimeProjectId": 1, "TrackTimeProjectName": "sample string 11", "Activity": { "Id": 1, "Name": "sample string 2", "Type": 1 }, "LastUpdatedByUserProviderKey": "sample string 12", "LastUpdatedUtc": "2024-12-22T10:42:28.1843939+01:00", "DateOfImplementationUtc": "2024-12-22T10:42:28.1843939+01:00", "GeneralUnitLabel": "sample string 13", "TimeUnit": 1, "TotalPrice": 14.1, "Approved": true, "ApprovedChangedByUserProviderKey": "sample string 16", "ApprovedChangedUtc": "2024-12-22T10:42:28.1843939+01:00", "InvoiceDate": "2024-12-22T10:42:28.1843939+01:00", "InvoiceNumber": "sample string 18", "SelectedCategories": [ { "Id": 1, "Name": "sample string 2", "SelectedCategoryItems": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ] }, { "Id": 1, "Name": "sample string 2", "SelectedCategoryItems": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ] } ] }
application/xml, text/xml
<GetTrackTimeRecordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <Activity xmlns:d2p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Type>Time</d2p1:Type> </Activity> <Approved>true</Approved> <ApprovedChangedByUserProviderKey>sample string 16</ApprovedChangedByUserProviderKey> <ApprovedChangedUtc>2024-12-22T10:42:28.1843939+01:00</ApprovedChangedUtc> <AssignedToUserFullName>sample string 3</AssignedToUserFullName> <AssignedToUserProviderKey>sample string 4</AssignedToUserProviderKey> <Count>1.1</Count> <CreatedByUserFullName>sample string 5</CreatedByUserFullName> <CreatedByUserProviderKey>sample string 6</CreatedByUserProviderKey> <CreatedUTC>2024-12-22T10:42:28.1843939+01:00</CreatedUTC> <Currency>CZK</Currency> <CustomerId>1</CustomerId> <CustomerName>sample string 9</CustomerName> <DateOfImplementationUtc>2024-12-22T10:42:28.1843939+01:00</DateOfImplementationUtc> <Description>sample string 2</Description> <DurationInSeconds>1</DurationInSeconds> <FromUtc>2024-12-22T10:42:28.1843939+01:00</FromUtc> <GeneralUnitLabel>sample string 13</GeneralUnitLabel> <Id>1</Id> <InvoiceDate>2024-12-22T10:42:28.1843939+01:00</InvoiceDate> <InvoiceNumber>sample string 18</InvoiceNumber> <InvoiceState>DoNotInvoice</InvoiceState> <LastUpdatedByUserProviderKey>sample string 12</LastUpdatedByUserProviderKey> <LastUpdatedUtc>2024-12-22T10:42:28.1843939+01:00</LastUpdatedUtc> <Price>8.1</Price> <SelectedCategories xmlns:d2p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures"> <d2p1:CategoryData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SelectedCategoryItems> <d2p1:CategoryItemData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:CategoryItemData> <d2p1:CategoryItemData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:CategoryItemData> </d2p1:SelectedCategoryItems> </d2p1:CategoryData> <d2p1:CategoryData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SelectedCategoryItems> <d2p1:CategoryItemData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:CategoryItemData> <d2p1:CategoryItemData> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </d2p1:CategoryItemData> </d2p1:SelectedCategoryItems> </d2p1:CategoryData> </SelectedCategories> <TicketId>1</TicketId> <TicketREF>sample string 10</TicketREF> <TimeUnit>Second</TimeUnit> <TotalPrice>14.1</TotalPrice> <TrackTimeProjectId>1</TrackTimeProjectId> <TrackTimeProjectName>sample string 11</TrackTimeProjectName> <UntilUtc>2024-12-22T10:42:28.1843939+01:00</UntilUtc> </GetTrackTimeRecordResult>