Expense Sheet Return Multi

Returns sheets if they have issues and cannot be approved.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
ActionYesThe action to performaction=expensesheetsreturn
IdentifierYesExpense sheet ID or UUIDexpensesheet=[1234,1235]

If the sheets are Approved (A), the sheet statuses get set to Submitted (S). If the sheets are not Approved the sheets get set to Returned (T). Lines retain their original statuses.

Example request:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&action=expensesheetsreturn&expensesheet=[1234,1235]

Example response:

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