Create

Create an expense sheet

Create

ParameterDescriptionExamples
APIThe API areaexpensesheets.json
ActionThe action to performaction=create
Parameters described in overviewuser=user&password=user&version=3.3
inputJSON stringinput="data": ...
expensesheetSupplierCodeSupplier code"expensesheetSupplierCode": "1/USER"
expensesheetCompanyCompany"expensesheetCompany":1
ResponseReturned dataSee below

Example request:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.3&action=create&input={"data":[{"expensesheetSupplierCode": "1/USER","expensesheetCompany":1}]}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "expensesheetUuid": "BE97A99B42F8614A846BAF29AA4BDC12",
      "expensesheetInternalRef": 690,
      "expensesheetTimestampModified": 1533568088,
      "expensesheetRecordVersionNumber": 0
    }
  ]
}