Task

Retrieve Task Priorities

GET

Retrieves all TaskPriorities defined within your Workspace.

A TaskPriority is a named priority level used by your business to determine how to decide which Tasks are the most important. You can name your TaskPriority levels anything you like and you can reorganize the order of the TaskPriority levels at any time.

Note that TaskPriority and ProjectPriority are different classes of priority levels. Even if they may have similar names, they are different objects and must be tracked separately.

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
list of objectsOptional
If the API call succeeded, this will contain the results.
GET
$curl /api/data/tasks/priorities \
> -H "Authorization: Bearer <token>"
Response
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": [
13 {
14 "id": 1,
15 "name": "name"
16 }
17 ]
18}