Update

Update

ParameterDescriptionExamples
APIThe API areaexpensesheets.json
ActionThe action to performaction=update
Parameters described in overviewuser=user&password=user&version=3.3
CompanyThe company contextcompany=1
inputJSON stringinput="data": ...
IdentifierData identifying expense sheet to update"expenselineInternal":2288
Update dataData to update on expense sheet"expenselineTotal":100
ResponseReturned dataSee below

Example request:

http://<SERVER>/jsonapi/expenselines.json?user=user&password=user&version=3.3&action=update&input={
  "data": [
    {
      "expenselineInternal": 2288,
      "expenselineTotal": 100
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true
}