Supplier Contacts

List of supplier contacts

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areapurchases.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=contacts
SupplierNoSupplier codesupplier=1/aaaa

Example request:

http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.9&action=contacts&company=1&supplier=1/aaaa

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 5,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "suppliercontactInternalRef": 304,
      "suppliercontactForwardsfullName": "Jammy Dodger",
      "variable_selected": false
    },
    {
      "suppliercontactInternalRef": 266,
      "suppliercontactForwardsfullName": "Jimmy Smith",
      "variable_selected": false
    },
    {
      "suppliercontactInternalRef": 276,
      "suppliercontactForwardsfullName": "jon test ing2",
      "variable_selected": false
    },
    {
      "suppliercontactInternalRef": 332,
      "suppliercontactForwardsfullName": "s1 s1",
      "variable_selected": false
    }
  ]
}