Timesheet Weekly Date

Returns a display of the timesheet weekly by date.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ResourceYesResource coderesource=1/ME
DateYesDatedate=2018-01-08
JobphaseYesJob and phasejobphase=1/00000523.001
ChargecodeYesCharge codechargecode=1/AA
ActionYesThe action to performaction=timesheetweeklydate

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.9&action=timesheetweeklydate&company=1&date=2017-03-24&resource=1/jon&jobphase=1/00008562.001&chargecode=1/ah

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 1,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "tspTswDateApproverNotes": "",
      "tspTswDateChargeCode": "1/ah",
      "tspTswDateChargeName": "Account handlers",
      "tspTswDateDated": "2017-03-24",
      "tspTswDateDeleteable": false,
      "tspTswDateEdittable": false,
      "tspTswDateEntryno": 0,
      "tspTswDateHoursNormal": 0.5,
      "tspTswDateHoursOt1": 0,
      "tspTswDateHoursOt2": 0,
      "tspTswDateHoursTotal": 0.5,
      "tspTswDateJobPhase": "1/00008562.001",
      "tspTswDateStatusCode": "",
      "tspTswDateStatusName": "",
      "tspTswDateSubmittable": false,
      "tspTswDateSubmitterNotes": "",
      "tspTswDateTaskDesc": "",
      "tspTswDateTimerEntrynoNormal": 0,
      "tspTswDateTimerEntrynoOt1": 0,
      "tspTswDateTimerEntrynoOt2": 0,
      "tspTswDateTimerStatusNormal": "",
      "tspTswDateTimerStatusOt1": "",
      "tspTswDateTimerStatusOt2": "",
      "tspTswDateTimerTimeNormal": 0,
      "tspTswDateTimerTimeOt1": 0,
      "tspTswDateTimerTimeOt2": 0,
      "tspTswDateTimesheetInternal": 4726,
      "tspTswDateType": "TIMESHEET",
      "tspTswDateUnique": "",
      "tspTswDateUuid": "64CDDA071EB8E14DB8D854F0A7AB68C4",
      "tspTswDateWorkDone": "",
      "tspTswDateWorkflow": ""
    }
  ]
}