GET https://api.d-tools.com/SI/Subscribe/TimeSheets?id={id}
Get a time sheet for a given time sheet id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The time sheet id. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
TimeSheetName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique Id |
string |
None. |
EntityId |
Entity associated to Time Sheet: Project = 1, Task = 2, Service Order = 3, Company = 4 |
byte |
None. |
EntitySourceId |
Id of the Project or Task or Service Order. EntitySourceId is not required If company time sheet (Required) |
string |
None. |
Date |
Date |
date |
None. |
Resource |
Resource |
string |
None. |
Client |
Client |
string |
None. |
ProjectName |
Project Name |
string |
None. |
ProjectNumber |
Project Number |
string |
None. |
TaskOrSVOName |
Task or Service Order Name |
string |
None. |
TaskOrSVONumber |
Task or Service Order Number |
string |
None. |
Duration |
Total Duration for all non overtime entries in time sheet |
decimal number |
None. |
DurationOverTime |
Total Duration for all overtime entries in time sheet |
decimal number |
None. |
CreatedOn |
Date the time sheet was created (UTC Time) |
date |
None. |
UpdatedOn |
Date the time sheet was updated (UTC Time) |
date |
None. |
Approved |
Is time sheet Approved |
boolean |
None. |
ApprovedBy |
If Time Sheet is approved the Time sheet Approved By |
string |
None. |
ApprovedOn |
If Time Sheet is approved the Time sheet Approved Date |
date |
None. |
CostHr |
Cost Per Hr for non overtime work |
decimal number |
None. |
CostHrOverTime |
Cost Per Hr for overtime work |
decimal number |
None. |
TotalCost |
Total Cost |
decimal number |
None. |
Entries |
Entries for time sheet |
Collection of TimeSheetEntry |
None. |
Response Formats
application/json, text/json
{ "Id": "sample string 1", "EntityId": 64, "EntitySourceId": "sample string 3", "Date": "2025-03-06T03:34:57.5222826+00:00", "DateTicks": 5, "Resource": "sample string 6", "Client": "sample string 7", "ProjectName": "sample string 8", "ProjectNumber": "sample string 9", "TaskOrSVOName": "sample string 10", "TaskOrSVONumber": "sample string 11", "Duration": 1.0, "DurationOverTime": 1.0, "CreatedOn": "2025-03-06T03:34:57.5222826+00:00", "UpdatedOn": "2025-03-06T03:34:57.5222826+00:00", "Approved": true, "ApprovedBy": "sample string 14", "ApprovedOn": "2025-03-06T03:34:57.5222826+00:00", "CostHr": 1.0, "CostHrOverTime": 1.0, "TotalCost": 1.0, "Entries": [ { "Phase": "sample string 1", "LaborType": "sample string 2", "SubLaborType": "sample string 3", "TypeId": 64, "Duration": 5.0, "StartTime": "2025-03-06T03:34:57.5228885+00:00", "EndTime": "2025-03-06T03:34:57.5228885+00:00", "Billable": true, "Overtime": true, "Description": "sample string 7" }, { "Phase": "sample string 1", "LaborType": "sample string 2", "SubLaborType": "sample string 3", "TypeId": 64, "Duration": 5.0, "StartTime": "2025-03-06T03:34:57.5228885+00:00", "EndTime": "2025-03-06T03:34:57.5228885+00:00", "Billable": true, "Overtime": true, "Description": "sample string 7" } ] }
application/xml, text/xml
<TimeSheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects"> <Approved>true</Approved> <ApprovedBy>sample string 14</ApprovedBy> <ApprovedOn>2025-03-06T03:34:57.5222826+00:00</ApprovedOn> <Client>sample string 7</Client> <CostHr>1</CostHr> <CostHrOverTime>1</CostHrOverTime> <CreatedOn>2025-03-06T03:34:57.5222826+00:00</CreatedOn> <Date>2025-03-06T03:34:57.5222826+00:00</Date> <DateTicks>5</DateTicks> <Duration>1</Duration> <DurationOverTime>1</DurationOverTime> <EntityId>64</EntityId> <EntitySourceId>sample string 3</EntitySourceId> <Entries> <TimeSheetEntry> <Billable>true</Billable> <Description>sample string 7</Description> <Duration>5</Duration> <EndTime>2025-03-06T03:34:57.5228885+00:00</EndTime> <LaborType>sample string 2</LaborType> <Overtime>true</Overtime> <Phase>sample string 1</Phase> <StartTime>2025-03-06T03:34:57.5228885+00:00</StartTime> <SubLaborType>sample string 3</SubLaborType> <TypeId>64</TypeId> </TimeSheetEntry> <TimeSheetEntry> <Billable>true</Billable> <Description>sample string 7</Description> <Duration>5</Duration> <EndTime>2025-03-06T03:34:57.5228885+00:00</EndTime> <LaborType>sample string 2</LaborType> <Overtime>true</Overtime> <Phase>sample string 1</Phase> <StartTime>2025-03-06T03:34:57.5228885+00:00</StartTime> <SubLaborType>sample string 3</SubLaborType> <TypeId>64</TypeId> </TimeSheetEntry> </Entries> <Id>sample string 1</Id> <ProjectName>sample string 8</ProjectName> <ProjectNumber>sample string 9</ProjectNumber> <Resource>sample string 6</Resource> <TaskOrSVOName>sample string 10</TaskOrSVOName> <TaskOrSVONumber>sample string 11</TaskOrSVONumber> <TotalCost>1</TotalCost> <UpdatedOn>2025-03-06T03:34:57.5222826+00:00</UpdatedOn> </TimeSheet>