Resource List

Returns a list of staff resource records

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
CompanyYesThe company numbercompany=1
ResourceNoResource active/inactiveresource=ALLACTIVE
UserIDNolist all resourcesuserid=ALLACTIVE
ActionYesThe action to performaction=userjobslist

Example request:

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.7&action=resourcelist&company=1&userid=ALLACTIVE

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"resourcesUuid": "8309E68AE196447080FEA8302241A4F7",
"resourcesTimestampModified": 1561708297,
"resourcesRecordVersionNumber": 186,
"resourcesCode": "1/U",
"resourcesName": "User - Andy"
}
]
}