Expense sheet copy

Expense Sheet Copy

ParameterDescriptionExamples
APIThe API areaexpensesheets.json
ActionExpense Sheet Copy&action=expensesheetcopy
Parameters described in overviewuser=user&password=user&version=3.3
CompanyThe company context&company=1
Expense ID:Expense Sheet ID&expensesheet=1234
OR
UUID:Expense Sheet UUID&uuid=1234567489

Example request:
Request to copy an expense sheet

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.3&action=expensesheetcopy&company=1&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"
    }
  ]
}