PUT api/jobtimesheet/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
JobTimesheet| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"JobTimesheetId": 1,
"JobCode": "sample string 2",
"JobTaskId": 1,
"InstallerCode": "sample string 3",
"InstallerId": 1,
"WorkDate": "2025-11-29T14:35:16.0038006-06:00",
"WorkDateOffset": "2025-11-29T14:35:16.0038006-06: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": "2025-11-29T14:35:16.0038006-06:00",
"EntryDateOffset": "2025-11-29T14:35:16.0038006-06:00",
"RateType": "sample string 8"
}
application/xml, text/xml
Sample:
<JobTimesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<Amount>1</Amount>
<Desciption>sample string 5</Desciption>
<EntryDate>2025-11-29T14:35:16.0038006-06:00</EntryDate>
<EntryDateOffset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-29T20:35:16.0038006Z</d2p1:DateTime>
<d2p1:OffsetMinutes>-360</d2p1: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>2025-11-29T14:35:16.0038006-06:00</WorkDate>
<WorkDateOffset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-29T20:35:16.0038006Z</d2p1:DateTime>
<d2p1:OffsetMinutes>-360</d2p1:OffsetMinutes>
</WorkDateOffset>
</JobTimesheet>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.