Print timesheet

Print timesheets to file or browser

Print Timesheet

Print timesheets to file or browser

ParameterDescriptionExamples
APIThe API areatspending.json
ActionPrint timesheets to file or base64&action=timesheetfile/timesheetprint
Parameters described in overviewuser=user&password=user&version=3.3
ResourceUser Code&resource=1/ME
CompanyThe company context&company=1
TypeType of layout&type=-2183

Example requests:
Request to a timesheet to base64

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

Request to a timesheet to the browser

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

Example response for timesheetprint:

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