An activity can have a 'team' allocated to it. This API provides a list of valid teams
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=teams |
Example request:
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=teams&version=3.9
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 12,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"teamCode": "1/ACC",
"teamDescription": "Accounts",
"variable_selected": false
},
{
"teamCode": "1/ADMI",
"teamDescription": "Administration",
"variable_selected": false
},