Timesheet weekly date

Timesheet weekly date

Timesheet Weekly by Date

Display of the tmesheet weekly by date

Parameter

Description

Examples

API

The API area

tspending.json

Action

Timesheet Weekly Date

&action=timesheetweekly

General

Parameters described in overview

user=user&password=user&version=3.3

Company

The company context

&company=1

Resource:

User Code

&resource=1/ME

Date:

Date

&date=2018-01-08

Jobphase

Job Phase

&jobphase=1/00000523.001

Chargecode

Charge Code

&chargecode=1/AA

Example request:
Request to show a timesheet

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=timesheetweeklydate&company=1&date=2017-03-24&resource=1/jon&job=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": true,
"tspTswDateEdittable": true,
"tspTswDateEntryno": 12863,
"tspTswDateHoursNormal": 0.5,
"tspTswDateHoursOt1": 0,
"tspTswDateHoursOt2": 0,
"tspTswDateHoursTotal": 0.5,
"tspTswDateJobPhase": "1/00008562.001",
"tspTswDateStatusCode": "W",
"tspTswDateStatusName": "Unsubmitted",
"tspTswDateSubmittable": true,
"tspTswDateSubmitterNotes": "",
"tspTswDateTaskDesc": "",
"tspTswDateTimerEntrynoNormal": 0,
"tspTswDateTimerEntrynoOt1": 0,
"tspTswDateTimerEntrynoOt2": 0,
"tspTswDateTimerStatusNormal": "",
"tspTswDateTimerStatusOt1": "",
"tspTswDateTimerStatusOt2": "",
"tspTswDateTimerTimeNormal": 0,
"tspTswDateTimerTimeOt1": 0,
"tspTswDateTimerTimeOt2": 0,
"tspTswDateTimesheetInternal": 0,
"tspTswDateType": "PENDING",
"tspTswDateUnique": "1/00008562.001###1/ah",
"tspTswDateUuid": "1AEBF21C6EFB07439A3BD72530FDC4D1",
"tspTswDateWorkDone": "",
"tspTswDateWorkflow": ""
}
]
}