Priority Lookup

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

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaactivities.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=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
    }
  ]
}