GET api/jobtimesheet/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

JobTimesheet
NameDescriptionTypeAdditional 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": "2018-07-20T15:54:01.5828829-04:00",
  "WorkDateOffset": "2018-07-20T15:54:01.5828829-04: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": "2018-07-20T15:54:01.5828829-04:00",
  "EntryDateOffset": "2018-07-20T15:54:01.5828829-04: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>2018-07-20T15:54:01.5828829-04:00</EntryDate>
  <EntryDateOffset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-07-20T19:54:01.5828829Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-240</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>2018-07-20T15:54:01.5828829-04:00</WorkDate>
  <WorkDateOffset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2018-07-20T19:54:01.5828829Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes>
  </WorkDateOffset>
</JobTimesheet>