Expense Sheet Copy

Copies an expense sheet.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=expensesheetcopy
IdentifierYesExpense sheet ID or UUIDexpensesheet=1791

Example request:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&company=1&action=expensesheetcopy&expensesheet=1791

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Expense sheet 1791 copied to 1815.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "expensesheetInternalRef": 1815,
      "expensesheetUuid": "A501A22A052E104B8912EB9F73544169"
    }
  ]
}