Show/Hide overtime

Show or hide timesheet overtime

Show/Hide Overtime

Show or hide timesheet overtime

ParameterDescriptionExamples
APIThe API areatspending.json
ActionShow/Hide Overtime&action=timesheetweeklyovertimeshow/timesheetweeklyovertimehide
Parameters described in overviewuser=user&password=user&version=3.3
CompanyThe company context&company=1

Example requests:
Request to show overtime

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=timesheetweeklyovertimeshow&company=1

Request to hide overtime

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=timesheetweeklyovertimehide&company=1

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "overtime set to show.",
  "warningmessage": "",
  "success": true
}