Project Template

Retrieve Template Categories

GET

Retrieves all ProjectTemplate Categories defined in the system.

A ProjectTemplate is a definition of default project related data (eg. Tasks) that can be applied to a new project when it is created. ProjectTemplates are categorized using the TemplateCategory system.

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/projects/templates/categories \
> -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": "id",
15 "name": "name",
16 "order": 1,
17 "templates": [
18 {}
19 ]
20 }
21 ]
22}