List of resource users
ResourceList
List of staff resource records for a user
Parameter | Description | Examples |
---|---|---|
API | The API area | tspending.json |
Action | Resource List | &action=resourcelist |
<General> | Parameters described in overview | user=user&password=user&version=3.3 |
Company | The company context | &company=1 |
<input optional>resource: | Active/Inactive | &resource=ALLACTIVE/ALLINACTIVE |
Example request:
Request to list staff resource
Note: Normally this will only return a single record per user.
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=resourcelist&company=1
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"
}
]
}