Intervals API Resource:

taskpriority

The base URL for this resource is located at
https://api.myintervals.com/taskpriority/

Collection

Allowed HTTP Methods
MethodGroup Access
GETAdministrator, Manager, Resource, Executive
Allowed Filters
Filter NameRequired?ExpectsDefaultDescription
active no boolean
offset no integer Return taskpriorities starting from the nth taskpriority.
limit no integer 10 Sets a limit to the amount of taskpriorities returned in the response.

1 Indicates that multiple values are allowed, in CSV format (e.g. "3,5,11,19").
2 This field accepts HTML, but certain HTML elements may be stripped out.

Examples

To retrieve the entire list of this resource:

GET /taskpriority/

To filter the list based on certain parameters:

GET /taskpriority/?limit={value}

Note: You can string together multiple filters.

Member

Allowed HTTP Methods
MethodGroup Access
GETAdministrator, Manager, Resource, Executive
Settable Fields for PUT and POST Requests
Field NameRequired?ExpectsDefaultDescription
name yes string (255)
color yes string Should be a 6 character hex value.
priority yes integer A relative integer value. Higher value represents higher priority.
isdefault no boolean
active no boolean

string (xxx) indicates a string with a maximum length of xxx characters.

Response Fields

The fields below are returned in GET responses. Boolean values are "t" / "f" strings. Numeric IDs and floats are returned as strings. Nullable fields may be JSON null.

Response Fields
Field NameNullableDescription
id no Unique identifier for the task priority row
name no Priority label (e.g. P1, P3, PLG)
color no Display color as 6 hex digits without `#`
priority no Sort order when listing priorities (lower first; string in JSON, e.g. `"1"` … `"5"`)
isdefault no Whether this is the account default priority for new tasks ("t"/"f")
active no Whether this priority is in use ("t") or retired ("f")

When retrieving a collection (GET /taskpriority/), the response envelope includes: personid (authenticated user's ID), status ("OK"), code (200), listcount (total matching records before limit/offset), and taskpriority (array of result objects). Defaults, no cap on limit, and how to paginate using listcount are described in the API Introduction (Pagination).

Examples

To retrieve one member resource:

GET /taskpriority/{id}/

Assuming no errors, the server will respond with 200 OK and the object requested.

Start tracking time today

Join 5,000+ companies spending their time wisely with Intervals.

Try Intervals free