Expense Sheet All Multi

Approves, processes and posts multiple expense sheets, provided that the user has the correct permissions to do so.

Expense Sheet All Multi

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
ActionYesThe action to performaction=expensesheetsall
IdentifierYesExpense sheet ID or UUIDexpensesheet=[1234,1235]

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://&lt;SERVER&gt;/jsonapi/expensesheets.json?&version=6&action=expensesheetsall&expensesheet=[1234,1235]

Example request (legacy username/password):

http://&lt;SERVER&gt;/jsonapi/expensesheets.json?&version=6&action=expensesheetsall&expensesheet=[1234,1235]&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "2 of 2 expense sheets approved, processed and posted.",
  "warningmessage": "",
  "success": true
}