Contact Details

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliercontacts.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
Model StructureYesName of model requiredmodelstructure=suppliercontactdetailsUsing 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=suppliercontactdetails

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,
      "suppliercontactSupplierCode": "1/EMAPR",
      "suppliercontactSupplierName": "EMAP radio",
      "suppliercontactTitle": "Miss",
      "suppliercontactFirstName": "zz",
      "suppliercontactMiddleInitials": "",
      "suppliercontactName": "zzzz",
      "suppliercontactJobTitle": "",
      "suppliercontactSalutation": "zz",
      "suppliercontactAssistant": "",
      "suppliercontactDepartment": "",
      "suppliercontactExtension": 0,
      "suppliercontactDirectTelephone": "",
      "suppliercontactCellPhone": "",
      "suppliercontactOtherPhone": "",
      "suppliercontactSecondaryPhone": "",
      "suppliercontactFax": "",
      "suppliercontactVatreg": "",
      "suppliercontactEmail": "",
      "suppliercontactInactive": false,
      "suppliercontactAdd1": "",
      "suppliercontactAdd2": "",
      "suppliercontactAdd3": "",
      "suppliercontactAdd4": "",
      "suppliercontactAdd5": "",
      "suppliercontactAdd6": "",
      "suppliercontactAdd7": "",
      "suppliercontactFacebook": "",
      "suppliercontactTwitter": "",
      "suppliercontactLinkedin": "",
      "suppliercontactSkype": "",
      "suppliercontactInterests": ""
    }
  ]
}