GET api/JobTimesheet/{ID}?option={option}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
option | string |
Required |
|
ID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of JobTimesheetName | Description | Type | Additional information |
---|---|---|---|
JobTimesheetId |
Sedona internal autonumber for the Job Timesheet record |
integer |
None. |
JobCode |
Abbreviated Job Code |
string |
String length: inclusive between 0 and 25 |
JobTaskId | integer |
None. |
|
InstallerCode |
Value from SY_Employee table |
string |
None. |
InstallerId |
Value from SV_Service_Tech table |
integer |
None. |
WorkDate | date |
None. |
|
WorkDateOffset |
Only used when useUtcOffset is set to "1" in the web.config file |
date |
None. |
LaborTaskCode |
Value from OE_Labor_Task table |
string |
None. |
Units | decimal number |
None. |
|
Rate | decimal number |
None. |
|
Amount | decimal number |
None. |
|
Desciption | string |
None. |
|
PostedToGL |
Post to the GL tables |
boolean |
None. |
Usercode |
the user making this change; defaults to UserCode value from config file if not set explicitly |
string |
String length: inclusive between 0 and 30 |
EntryDate | date |
None. |
|
EntryDateOffset |
Only used when useUtcOffset is set to "1" in the web.config file |
date |
None. |
RateType | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "JobTimesheetId": 1, "JobCode": "sample string 2", "JobTaskId": 1, "InstallerCode": "sample string 3", "InstallerId": 1, "WorkDate": "2024-10-13T05:14:07.7825026-05:00", "WorkDateOffset": "2024-10-13T05:14:07.7825026-05:00", "LaborTaskCode": "sample string 4", "Units": 1.1, "Rate": 1.0, "Amount": 1.0, "Desciption": "sample string 5", "PostedToGL": true, "Usercode": "sample string 7", "EntryDate": "2024-10-13T05:14:07.7835036-05:00", "EntryDateOffset": "2024-10-13T05:14:07.7835036-05:00", "RateType": "sample string 8" }, { "JobTimesheetId": 1, "JobCode": "sample string 2", "JobTaskId": 1, "InstallerCode": "sample string 3", "InstallerId": 1, "WorkDate": "2024-10-13T05:14:07.7825026-05:00", "WorkDateOffset": "2024-10-13T05:14:07.7825026-05:00", "LaborTaskCode": "sample string 4", "Units": 1.1, "Rate": 1.0, "Amount": 1.0, "Desciption": "sample string 5", "PostedToGL": true, "Usercode": "sample string 7", "EntryDate": "2024-10-13T05:14:07.7835036-05:00", "EntryDateOffset": "2024-10-13T05:14:07.7835036-05:00", "RateType": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfJobTimesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <JobTimesheet> <Amount>1</Amount> <Desciption>sample string 5</Desciption> <EntryDate>2024-10-13T05:14:07.7835036-05:00</EntryDate> <EntryDateOffset xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-10-13T10:14:07.7835036Z</d3p1:DateTime> <d3p1:OffsetMinutes>-300</d3p1:OffsetMinutes> </EntryDateOffset> <InstallerCode>sample string 3</InstallerCode> <InstallerId>1</InstallerId> <JobCode>sample string 2</JobCode> <JobTaskId>1</JobTaskId> <JobTimesheetId>1</JobTimesheetId> <LaborTaskCode>sample string 4</LaborTaskCode> <PostedToGL>true</PostedToGL> <Rate>1</Rate> <RateType>sample string 8</RateType> <Units>1.1</Units> <Usercode>sample string 7</Usercode> <WorkDate>2024-10-13T05:14:07.7825026-05:00</WorkDate> <WorkDateOffset xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-10-13T10:14:07.7825026Z</d3p1:DateTime> <d3p1:OffsetMinutes>-300</d3p1:OffsetMinutes> </WorkDateOffset> </JobTimesheet> <JobTimesheet> <Amount>1</Amount> <Desciption>sample string 5</Desciption> <EntryDate>2024-10-13T05:14:07.7835036-05:00</EntryDate> <EntryDateOffset xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-10-13T10:14:07.7835036Z</d3p1:DateTime> <d3p1:OffsetMinutes>-300</d3p1:OffsetMinutes> </EntryDateOffset> <InstallerCode>sample string 3</InstallerCode> <InstallerId>1</InstallerId> <JobCode>sample string 2</JobCode> <JobTaskId>1</JobTaskId> <JobTimesheetId>1</JobTimesheetId> <LaborTaskCode>sample string 4</LaborTaskCode> <PostedToGL>true</PostedToGL> <Rate>1</Rate> <RateType>sample string 8</RateType> <Units>1.1</Units> <Usercode>sample string 7</Usercode> <WorkDate>2024-10-13T05:14:07.7825026-05:00</WorkDate> <WorkDateOffset xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-10-13T10:14:07.7825026Z</d3p1:DateTime> <d3p1:OffsetMinutes>-300</d3p1:OffsetMinutes> </WorkDateOffset> </JobTimesheet> </ArrayOfJobTimesheet>