Create

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliers.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
SupplierCodeYesSupplier code"supplierCode":"1/TS"

Example request:

http://<SERVER>/jsonapi/suppliers.json?user=user&password=user&version=3.7&action=create&input={
  "data": [
    {
      "supplierCode": "1/TS"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "supplierCode": "1/TS",
      "supplieruuid": "C4BACAACC684234285EEF12C4448B632",
      "supplierTimeStampModified": 1565168172,
      "supplierRecordVersionNumber": 0
    }
  ]
}