Supply Types List

Returns list of valid supply types.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaexpenselines.json
GeneralYesParameters described in overviewuser=user&password=userStructure of an API call
CompanyYesThe company numbercompany=1
SupplierNoSuppliersupplier=ABC
JobphaseNoJob and phase1/0001000.001
SupplytypeNoSupply typesupplytype=pen
ActionYesThe action to performaction=supplytypeslist

Example request:

http://<SERVER>/jsonAPI/expenselines.json?user=user&password=user&version=3.9&company=1&action=supplytypeslist

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 16,
  "totalpages": 8,
  "responsemessage": "",
  "pagerows": 2,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "supplytypesUuid": "D91524692ADCCB4B863D155FD9A5B1B3",
      "supplytypesTimestampModified": 1519836024,
      "supplytypesRecordversionnumber": 5,
      "supplytypesDescription": "Expense info 1",
      "supplytypesMileage": false,
      "supplytypesRate": 0,
      "supplytypesSupplyType": "1/666",
      "supplytypesVatcode": 1
    },
    {
      "supplytypesUuid": "B72F300B76724DD6A4E0F10DB1080E69",
      "supplytypesTimestampModified": 1392042573,
      "supplytypesRecordversionnumber": 3,
      "supplytypesDescription": "Expense info 2",
      "supplytypesMileage": false,
      "supplytypesRate": 0,
      "supplytypesSupplyType": "1/HOT",
      "supplytypesVatcode": 0
    }
  ]
}