Show/Hide overtime

Show or hide timesheet overtime

Show/Hide Overtime

Show or hide timesheet overtime

Parameter

Description

Examples

API

The API area

tspending.json

Action

Show/Hide Overtime

&action=timesheetweeklyovertimeshow/timesheetweeklyovertimehide

Parameters described in overview

user=user&password=user&version=3.3

Company

The 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
}