Timesheet weekly

Timesheet weekly

Timesheet Weekly

Display of the tmesheet weekly

  <th>
    Description
  </th>

  <th>
    Examples
  </th>
</tr>
  <td>
    The API area
  </td>

  <td>
    tspending.json
  </td>
</tr>

<tr>
  <td>
    Action
  </td>

  <td>
    Timesheet Weekly
  </td>

  <td>
    &amp;action=timesheetweekly
  </td>
</tr>

<tr>
  <td>
    General
  </td>

  <td>
    Parameters described in overview
  </td>

  <td>
    user=user&amp;password=user&amp;version=3.3
  </td>
</tr>

<tr>
  <td>
    Company
  </td>

  <td>
    The company context
  </td>

  <td>
    &amp;company=1
  </td>
</tr>

<tr>
  <td>
    Resource
  </td>

  <td>
    User Code
  </td>

  <td>
    &amp;resource=1/ME
  </td>
</tr>

<tr>
  <td>
    Date:
  </td>

  <td>
    Date
  </td>

  <td>
    &amp;date=2018-01-08
  </td>
</tr>

<tr>
  <td>
    <input optional>jobphase
  </td>

  <td>
    Job Phase
  </td>

  <td>
    &amp;jobphase=1/00000523.001
  </td>
</tr>

<tr>
  <td>
    <input optional>chargecode
  </td>

  <td>
    Charge Code
  </td>

  <td>
    &amp;chargecode=1/AA
  </td>
</tr>
Parameter
API

Example request:
Request to show a timesheet

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=timesheetweekly&company=1&date=2018-03-08&resource=1/jon

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 2,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"tspTswChargeCode": "1/ah",
"tspTswChargeName": "Account handlers",
"tspTswclientCode": "1/ATEST",
"tspTswclientName": "Atest & Co",
"tspTswDay0": 0,
"tspTswDay0Date": "2018-03-05",
"tspTswDay0Edittable": true,
"tspTswDay0Entryno": 0,
"tspTswDay0Materials": "",
"tspTswDay0Ot1": 0,
"tspTswDay0Ot2": 0,
"tspTswDay0Status": "U",
"tspTswDay0WorkDone": "",
"tspTswDay1": 0,
"tspTswDay1Date": "2018-03-06",
"tspTswDay1Edittable": true,
"tspTswDay1Entryno": 0,
"tspTswDay1Materials": "",
"tspTswDay1Ot1": 0,
"tspTswDay1Ot2": 0,
"tspTswDay1Status": "U",
"tspTswDay1WorkDone": "",
"tspTswDay2": 0,
"tspTswDay2Date": "2018-03-07",
"tspTswDay2Edittable": true,
"tspTswDay2Entryno": 0,
"tspTswDay2Materials": "",
"tspTswDay2Ot1": 0,
"tspTswDay2Ot2": 0,
"tspTswDay2Status": "U",
"tspTswDay2WorkDone": "",
"tspTswDay3": 0.05,
"tspTswDay3Date": "2018-03-08",
"tspTswDay3Edittable": true,
"tspTswDay3Entryno": 13754,
"tspTswDay3Materials": "",
"tspTswDay3Ot1": 0,
"tspTswDay3Ot2": 0,
"tspTswDay3Status": "U",
"tspTswDay3WorkDone": "",
"tspTswDay4": 0,
"tspTswDay4Date": "2018-03-09",
"tspTswDay4Edittable": true,
"tspTswDay4Entryno": 0,
"tspTswDay4Materials": "",
"tspTswDay4Ot1": 0,
"tspTswDay4Ot2": 0,
"tspTswDay4Status": "U",
"tspTswDay4WorkDone": "",
"tspTswDay5": 0,
"tspTswDay5Date": "2018-03-10",
"tspTswDay5Edittable": true,
"tspTswDay5Entryno": 0,
"tspTswDay5Materials": "",
"tspTswDay5Ot1": 0,
"tspTswDay5Ot2": 0,
"tspTswDay5Status": "U",
"tspTswDay5WorkDone": "",
"tspTswDay6": 0,
"tspTswDay6Date": "2018-03-11",
"tspTswDay6Edittable": true,
"tspTswDay6Entryno": 0,
"tspTswDay6Materials": "",
"tspTswDay6Ot1": 0,
"tspTswDay6Ot2": 0,
"tspTswDay6Status": "U",
"tspTswDay6WorkDone": "",
"tspTswEdittable": false,
"tspTswJobPhase": "1/00008562.001",
"tspTswJobPhaseDescription": "My Phase",
"tspTswOvertimeShow": true,
"tspTswRemovable": false,
"tspTswTaskDesc": "",
"tspTswTimerDateNormal": "0000-00-00",
"tspTswTimerDateOt1": "0000-00-00",
"tspTswTimerDateOt2": "0000-00-00",
"tspTswTimerEntrynoNormal": 0,
"tspTswTimerEntrynoOt1": 0,
"tspTswTimerEntrynoOt2": 0,
"tspTswTimerStatusNormal": "",
"tspTswTimerStatusOt1": "",
"tspTswTimerStatusOt2": "",
"tspTswTimerTimeNormal": 0,
"tspTswTimerTimeOt1": 0,
"tspTswTimerTimeOt2": 0,
"tspTswTotal": 0.05,
"tspTswTotalOt1": 0,
"tspTswTotalOt2": 0,
"tspTswUnique": "1/00008562.001###1/ah",
"tspTswUnique0Edittable": true,
"tspTswUnique1Edittable": true,
"tspTswUnique2Edittable": true,
"tspTswUnique3Edittable": true,
"tspTswUnique4Edittable": true,
"tspTswUnique5Edittable": true,
"tspTswUnique6Edittable": true,
"tspTswuserJobuuid": "",
"tspTswWorkflow": "",
"tspTswWorkflowDescription": "",
"tspTswWorkflowIntegrated": false
},
etc. etc.
]
}