Hide Overtime

Hide timesheet overtime.

Hide Overtime

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=timesheetweeklyovertimehide

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://&lt;SERVER&gt;/jsonapi/tspending.json?&version=6&action=timesheetweeklyovertimehide&company=1

Example request (legacy username/password):

http://&lt;SERVER&gt;/jsonapi/tspending.json?&version=6&action=timesheetweeklyovertimehide&company=1&user=<username>&password=<password>

Example response:

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