Create

Creates an expense sheet.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpensesheets.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
expensesheetSupplierCodeYesSupplier code"expensesheetSupplierCode": "1/USER"
expensesheetCompanyYesCompany"expensesheetCompany":1

Example request:

http://<SERVER>/jsonapi/expensesheets.json?user=user&password=user&version=3.9&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
    }
  ]
}