Expense Sheet Print Templates

Returns a list of print files.

Expense Sheet Print Templates

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=expensesheetinputprints
IdentifierYesExpense sheet ID or UUIDexpensesheet=1234

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://&lt;SERVER&gt;/jsonapi/expensesheets.json?&version=6&company=1&action=expensesheetinputprints&expensesheet=1790

Example request (legacy username/password):

http://&lt;SERVER&gt;/jsonapi/expensesheets.json?&version=6&company=1&action=expensesheetinputprints&expensesheet=1790&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 2,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "menuClickAction": "EXPENSESHEETINPUTFILE REPORT -1790",
      "menuDefault": false,
      "menuDescription": "**Expense Sheet Template",
      "menuExpanded": false,
      "menuLevelName": "EXPENSESHEETINPUTFILE",
      "menuParameter": "",
      "menuParentName": "",
      "menuSort": "",
      "menuSortDirection": ""
    },
    {
      "menuClickAction": "EXPENSESHEETINPUTFILE REPORT -2227",
      "menuDefault": false,
      "menuDescription": "Expense Sheet Template",
      "menuExpanded": false,
      "menuLevelName": "EXPENSESHEETINPUTFILE",
      "menuParameter": "",
      "menuParentName": "",
      "menuSort": "",
      "menuSortDirection": ""
    }
  ]
}