Company Timesheet Settings

Company timesheet settings

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areacompanies.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.8v3.8 Overview
Model StructureYesName of model requiredmodelstructure=timesheetsettingsUsing data models
ViewNoStored filter appliedUsing views
SortNoChange the view's default sort ordersort=CLIENTSorting
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=1

Example request:

http://<SERVER>/jsonapi/companies.json?version=3.8&modelstructure=timesheetsettings&company=1&user=user&password=user

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 1,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "companyUuid": "F1BECF29058A4FC28437728721F89372",
      "companyModified": 1539774244,
      "companyRecordVersionNumber": 5791,
      "companyHoursLimit": 24,
      "companyGuiTmHidecompletejob": true,
      "companyGuiTmHideinvestment": false,
      "companyGuiTmHidematerial": false,
      "companyGuiTmHideMytaskcomplete": false,
      "companyGuiTmWebShowbudget": false,
      "companyHidejobstages": true,
      "companyHidephasestages": false,
      "companyNumber": 1,
      "companyOvertime1Text": "Evening",
      "companyGuiTmHideovertime1": false,
      "companyOvertime2Text": "W/E",
      "companyGuiTmHideovertime2": false,
      "companyTmHideCompletestage": false,
      "companyTmHideMovestage": false,
      "companyTmWebActivityHide": true,
      "companyGuiTmHideWebWorkdone": false,
      "companyTsForceworkdone": false,
      "companyWorkflowIntegrated": true,
      "companyEstimateTaskdesc": true,
      "companyTsPostSubmitText": "Submit",
      "companyGuiTmWebHideWeekly": false,
      "companyTimesheetapproval": true,
      "companyBaseUnitIsDay": false
    }
  ]
}

Note: Feature from API 2.2