An activity can have an 'Owner'. An owner is essentially a user. This lookup lists all possible owners
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=owners |
Example request:
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=owners&version=3.9
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 239,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"userAvatarURL": "",
"userFullName": "- Blank -",
"userUserId": 0,
"variable_selected": false
},
{
"userAvatarURL": "/custom/User_568.jpg",
"userFullName": "Aaron Dyson",
"userUserId": 568,
"variable_selected": false
},