Material List

Returns a list of materials.

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.8v3.8 Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=materiallist

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.8&action=materiallist&company=1

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 24,
  "totalpages": 12,
  "responsemessage": "",
  "pagerows": 2,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "resourcesUuid": "D941A8DA9E434014A56672D1F00191F5",
      "resourcesTimestampModified": 1458225526,
      "resourcesRecordVersionNumber": 3,
      "resourcesCode": "1/4DEC",
      "resourcesName": "4 decimals"
    },
    {
      "resourcesUuid": "977C27066AA74A5A8B43BE9D6EB9DF09",
      "resourcesTimestampModified": 1458225575,
      "resourcesRecordVersionNumber": 3,
      "resourcesCode": "1/A2CC",
      "resourcesName": "A2 black and white "
    }
  ]
}