GET api/timeTrackSegment/{id}

Return a single value from the TrackSegments table using the primary key as ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The TrackSegments Primary Key.

integer

Required

Body Parameters

None.

Response Information

Resource Description

timeTrackSegmentDb
NameDescriptionTypeAdditional information
TrackSegmentID

integer

None.

TimeSegmentID

integer

Required

ClientID

integer

Required

TrackTypeID

integer

None.

TrackID

integer

None.

TrackReference

string

None.

ServerTimeOffset

integer

Required

ServerStart

date

Required

ServerStop

date

None.

Start

date

None.

Stop

date

None.

StopType

integer

None.

TimeEdited

boolean

None.

Duration

integer

None.

DurationFractional

decimal number

None.

IsBillable

boolean

None.

BillType

integer

None.

IsAutoGenerated

boolean

None.

ChargeID

integer

None.

Note

string

None.

ApprovedBy

integer

None.

ApprovedDate

date

None.

ApprovedDateLocal

date

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

AddHist

boolean

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "TrackSegmentID": 1,
  "TimeSegmentID": 2,
  "ClientID": 3,
  "TrackTypeID": 1,
  "TrackID": 1,
  "TrackReference": "sample string 4",
  "ServerTimeOffset": 5,
  "ServerStart": "2025-12-06T23:39:30.2710895+00:00",
  "ServerStop": "2025-12-06T23:39:30.2710895+00:00",
  "Start": "2025-12-06T23:39:30.2710895+00:00",
  "Stop": "2025-12-06T23:39:30.2710895+00:00",
  "StopType": 8,
  "TimeEdited": true,
  "Duration": 1,
  "DurationFractional": 1.0,
  "IsBillable": true,
  "BillType": 11,
  "IsAutoGenerated": true,
  "ChargeID": 1,
  "Note": "sample string 13",
  "ApprovedBy": 1,
  "ApprovedDate": "2025-12-06T23:39:30.2710895+00:00",
  "ApprovedDateLocal": "2025-12-06T23:39:30.2710895+00:00",
  "CreatedBy": 14,
  "CreatedDate": "2025-12-06T23:39:30.2710895+00:00",
  "UpdatedBy": 16,
  "UpdatedDate": "2025-12-06T23:39:30.2710895+00:00",
  "AddHist": true
}

application/xml, text/xml

Sample:
<timeTrackSegmentDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <AddHist>true</AddHist>
  <ApprovedBy>1</ApprovedBy>
  <ApprovedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.2710895Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ApprovedDate>
  <ApprovedDateLocal xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.2710895Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ApprovedDateLocal>
  <BillType>11</BillType>
  <ChargeID>1</ChargeID>
  <ClientID>3</ClientID>
  <CreatedBy>14</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.2710895Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <Duration>1</Duration>
  <DurationFractional>1</DurationFractional>
  <IsAutoGenerated>true</IsAutoGenerated>
  <IsBillable>true</IsBillable>
  <Note>sample string 13</Note>
  <ServerStart>2025-12-06T23:39:30.2710895+00:00</ServerStart>
  <ServerStop>2025-12-06T23:39:30.2710895+00:00</ServerStop>
  <ServerTimeOffset>5</ServerTimeOffset>
  <Start>2025-12-06T23:39:30.2710895+00:00</Start>
  <Stop>2025-12-06T23:39:30.2710895+00:00</Stop>
  <StopType>8</StopType>
  <TimeEdited>true</TimeEdited>
  <TimeSegmentID>2</TimeSegmentID>
  <TrackID>1</TrackID>
  <TrackReference>sample string 4</TrackReference>
  <TrackSegmentID>1</TrackSegmentID>
  <TrackTypeID>1</TrackTypeID>
  <UpdatedBy>16</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.2710895Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</timeTrackSegmentDb>