Create

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliercontacts.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
Supplier Contact Supplier CodeYes/NoSupplier code. Only pass a supplier code if the company setting "Own supplier account numbers" is unchecked"suppliercontactSupplierCode":"1/EMAPR"

Example request:

http://<SERVER>/jsonapi/suppliercontacts.json?user=user&password=user&version=3.9&action=create&input={
  "data": [
    {
      "suppliercontactSupplierCode": "1/EMAPR"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "suppliercontactUuid": "EC7D896F2B32B14A84310F6798FC98C3",
      "suppliercontactInternalRef": 361,
      "suppliercontactTimestampModified": 1565699972,
      "suppliercontactRecordVersionNumber": 0
    }
  ]
}