Priority lookup

An activity can be given a priority value. This API provides a list of valid priority values

Priority lookup

Example request:

ParameterDescriptionExamples
ActionDefines the the API callaction=priorities
Parameters described in overview
CompanySpecify the company (data-set)company=1
Set variable_selectedSpecify the company (data-set)Input=2

http:///jsonapi/activities.json?user=user&password=user&company=1&action=priorities&input=2&version=3.1

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
    }
  ]
}