list all the possible preferred persons for requisitions
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | activities.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=resources |
Example request:
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=resources&version=3.9
http://192.168.0.239/jsonapi/activities.json?user=user&password=user&company=1&action=resources&version=3.9
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 120,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synapiversion": 3.8,
"data": [
{
"resourcesAvatarUrl": "",
"resourcesCode": "",
"resourcesUserId": 0,
"resourcesName": "- Blank -",
"variable_selected": false
},
{
"resourcesAvatarUrl": "/custom/User_568.jpg",
"resourcesCode": "1/AAD",
"resourcesUserId": 568,
"resourcesName": "Aaron Dyson",
"variable_selected": false
},