Expenses List

List of suppliers - for use when creating a PO or re-assigning a different supplier

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

Example request:

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

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 153,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "supplieruuid": "E38CC3D1F50D5B47985316AB007D692B",
      "supplierTimeStampModified": 1540385243,
      "supplierRecordVersionNumber": 2,
      "supplierCustomField317": "",
      "supplierCustomField321": "",
      "supplierCustomField328": "0000-00-00",
      "supplierCustomField336": "0000-00-00",
      "supplierCustomField361": "",
      "supplierCustomField409": "",
      "supplierCustomField417": "",
      "supplierCustomField418": false,
      "supplierCustomField419": "0000-00-00",
      "supplierCustomField420": "",
      "supplierCustomField421": "0000-00-00",
      "supplierCustomField422": "",
      "supplierCustomField423": "",
      "supplierCustomField424": "0000-00-00",
      "supplierCustomField425": "",
      "supplierCustomField426": "",
      "supplierCustomField427": 0,
      "supplierCustomField428": 0,
      "supplierName": "Helen White",
      "supplierCode": "1/12",
      "supplierPhone": "",
      "supplierExpense": true,
      "supplierInactive": false,
      "supplierOnHold": false,
      "supplierMainEmail": "",
      "supplierSupplytypeDescription": "Hotel Expenses1",
      "supplierMarkup": 1,
      "supplierWebURL": "",
      "supplierProspect": false
    }
  ]
}