An activity can be given a priority value. This API provides a list of valid priority values
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=priorities |
Example request:
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=priorities&version=3.9
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 3,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"lookupActivityPriorityDescription": "High",
"lookupActivityPriorityID": 1,
"variable_selected": false
},
{
"lookupActivityPriorityDescription": "Med",
"lookupActivityPriorityID": 2,
"variable_selected": true
},
{
"lookupActivityPriorityDescription": "Low",
"lookupActivityPriorityID": 3,
"variable_selected": false
}
]
}