An activity can have a 'team' allocated to it. This API provides a list of valid teams
Team lookup
Example request:
Parameter | Description | Examples |
---|---|---|
Action | Defines the the API call | action=teams |
Parameters described in overview | ||
Company | Specify the company (data-set) | company=1 |
http:///jsonapi/activities.json?user=user&password=user&company=1&action=teams&version=3.1
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
},