Company timesheet settings
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | companies.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Model Structure | Yes | Name of model required | modelstructure=timesheetsettings | Using data models |
View | No | Stored filter applied | Using views | |
Sort | No | Change the view's default sort order | sort=CLIENT | Sorting |
Filters | No | Filter by a key field | Filters | |
Company | Yes | The company number | company=1 |
Example request:
http://<SERVER>/jsonapi/companies.json?version=3.9&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