Print Timesheet

Prints timesheets to file or browser.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=timesheetfile
ResourceYesResource coderesource=1/ME
TypeYesType of layouttype=-2183

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.7&action=timesheetfile&resource=1/jon&company=1&type=-2183

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "PDF created successfully.",
  "warningmessage": "",
  "success": true,
  "data": [..]
}