Returns company settings related to timesheets.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | tspending.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=companysettings |
Example request:
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.9&company=1&action=companysettings
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"companyUuid": "66619B8544E74787A6C7FA2445289A4A",
"companyModified": 1532083132,
"companyRecordVersionNumber": 3572,
"companyNumber": 1,
"companyTimesheetapproval": true
}
]
}