Contact List

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliercontacts.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
Model StructureYesName of model requiredmodelstructure=suppliercontactslistUsing data models
ViewNoStored filter appliedUsing views
SortNoChange the view's default sort ordersort=NAMESorting
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=1

Example request:

http://<SERVER>/jsonapi/suppliercontacts.json?user=user&password=user&version=3.9&company=1&modelstructure=suppliercontactslist

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 105,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "suppliercontactUuid": "A4B734073799E046AAE41719B5B207B6",
      "suppliercontactTimestampModified": 1499182153,
      "suppliercontactRecordVersionNumber": 0,
      "suppliercontactInternalRef": 305,
      "suppliercontactForwardsfullName": "zz zzzz",
      "suppliercontactJobTitle": "",
      "suppliercontactSupplierCode": "1/EMAPR",
      "suppliercontactSupplierName": "EMAP radio",
      "suppliercontactEmail": "",
      "suppliercontactPhoneDisplay": ""
    }
  ]
}