Supplier Details

Supplier details

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areasuppliers.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
Model StructureYesName of model requiredmodelstructure=supplierdetailsUsing data models
ViewNoStored filter appliedUsing views
SortNoChange the view's default sort ordersort=SUPPLIERSorting
FiltersNoFilter by a key fieldFilters
CompanyYesThe company numbercompany=1

Example request:


http://<SERVER>/jsonapi/suppliers.json?user=user&password=user&version=3.7&modelstructure=supplierdetails&company=1&supplier=1/A001

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synversion": "12.690q",
"synapiversion": 3.7,
"data": [
{
"supplieruuid": "367FDBB9CF1B4AD798A5C75A4355BF8A",
"supplierTimeStampModified": 1617891671,
"supplierRecordVersionNumber": 299,
"supplierCustomField317": "pulldown 1",
"supplierCustomField336": "2019-04-03",
"supplierCustomField409": "5",
"supplierCustomField418": true,
"supplierCustomField596": "Child 1",
"supplierCode": "1/A001",
"supplierName": "Able Printers Limited",
"supplierExpense": false,
"supplierInactive": false,
"supplierGeneric": false,
"supplierOnHold": false,
"supplierProspect": false,
"supplierStreet": "22 High Street",
"supplierAddress1": "",
"supplierAddress2": "Chester",
"supplierCounty": "Cheshire",
"supplierPostcode": "CH6 7TF",
"supplierCountry": "United Kingdom",
"supplierCountryCode": "UK",
"supplierCountryName": "United Kingdom",
"supplierPhone": "0161 456 1897",
"supplierFax": "0161 456 7777",
"supplierVATReg": "",
"supplierUserID": 0,
"supplierFullName": "",
"supplierISDN": "",
"supplierWebURL": "www.xxyx.com",
"supplierMainEmail": "[email protected]",
"supplierSupplytype": "1/ELE",
"supplierSupplytypeDescription": "Electrical Work"
}
]
}