JC Timesheet
|
URL |
Verbs |
Function |
|---|---|---|
|
JCTimesheet/<employee> |
GET |
Query a list of JC Timesheets for a given employee |
|
JCTimesheet/<employee> |
POST |
Add a JC Timesheet for a given employee |
|
JCTimesheet/<employee>/<weekending> |
GET |
Query a JC Timesheet for a given employee |
|
JCTimesheet/<employee>/<weekending> |
POST |
Update an existing JC Timesheet for a given employee |
|
JCTimesheet/<employee>/<weekending> |
DELETE |
Delete a JC Timesheet for a given employee |
Supported modifiers
|
Query String |
Definition |
Sample
|
|---|---|---|
|
modifiedSince |
Return a list of JC Timesheets which have been modified since a date/time |
modifiedSince=2012-09-11T10:30:00 |
|
replaceLines |
When POST data to an existing JC Timesheet indicates the LineItems collection should replace all existing lines. Default behaviour is to append LineItems to an existing JC Timesheet |
replaceLines=true |
Security Linked Menu
|
Menu Item
|
Located
|
|---|---|
| Timesheet Entry | Data Entry / Job Cost |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<JCTimesheet>
<Edition>4</Edition>
<OidString>3361.86</OidString>
<WeekEndingDate>2014-01-12</WeekEndingDate>
<Employee>CLARKC11</Employee>
<EntryTimeStamp>2014-01-09T16:14:17</EntryTimeStamp>
<EntryUser>SUPER</EntryUser>
<ModifiedTimeStamp>2014-01-10T14:04:17</ModifiedTimeStamp>
<ModifiedUser>SUPER</ModifiedUser>
<Branch>03</Branch>
<PostingDate>2014-01-31</PostingDate>
<StandardText>Final week at work</StandardText>
<LineItems collection="true">
<JCCostLineItem>
<ActivityCode>LABSER</ActivityCode>
<WorkCentre>SERV</WorkCentre>
<Job>5003</Job>
<StartTime>09:42:00</StartTime>
<FinishTime>15:53:00</FinishTime>
<Quantity>7.412</Quantity>
<StandardText>Frosty the snowman</StandardText>
<TimeLineDate>2014-01-10</TimeLineDate>
<TaxCode>GST Free</TaxCode>
</JCCostLineItem>
</LineItems>
</JCTimesheet>