An activity can have a 'Status'. This API provides a list of valid statuses.
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 |
Action | Yes | The action to perform | action=status | |
Identifier | Yes | Activity ID or UUID | activityID=4833 |
Example request:
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=status&status=&activityID=4833&version=3.9
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"lookupActivityStatus": "Status 1",
"variable_selected": false
},
{
"lookupActivityStatus": "Status 2",
"variable_selected": false
}
]
}