Skip to content

Updating an existing Project Template

Request

This endpoint returns structured Project Template objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the project_templates top-level JSON key. Please see our Response Format section for more information.

Path
idintegerrequired

The ID of the Model.

Query
includestring

Any of the below associations can be included in your request by providing the include param, e.g. include=association1,association2.

  • project_template_additional_tabs (ProjectTemplateAdditionalTab) - Retrieves the additional tabs added to the template. The response will include project_template_additional_tab_ids, which references the data in the project_template_additional_tabs top-level key.
  • project_template_assignments (ProjectTemplateAssignment) - Project template assignments associated with the project template.
  • user (User) - The user who created the project template (referenced by user_id).
optional_fieldsArray of strings

Allows you to request one or more optional fields as an array.

Items Value:"raw_json"
Bodyapplication/jsonrequired
project_templateobject
{ "project_template": { "title": "string", "sharing": "private_template", "is_budgeted": true, "budget": 0, "duration": 0, "currency": "string", "description": "string", "raw_json": "string" } }

Responses

Project Template has been updated.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
project_templatesobject
usersobject
project_template_assignmentsobject
project_template_additional_tabsobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "project_templates": { "property1": { "budget": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "duration": 0, "is_budgeted": true, "item_count": 0, "permissions": { "can_edit_project_template": true }, "project_template_additional_tab_ids": [ "string" ], "project_template_assignment_ids": [ "string" ], "raw_json": "string", "shared": true, "sharing": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" }, "property2": { "budget": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "description": "string", "duration": 0, "is_budgeted": true, "item_count": 0, "permissions": { "can_edit_project_template": true }, "project_template_additional_tab_ids": [ "string" ], "project_template_assignment_ids": [ "string" ], "raw_json": "string", "shared": true, "sharing": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "user_id": "string" } }, "users": { "property1": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] }, "property2": { "abbreviated_timezone": "string", "account_membership_id": "string", "bio": "string", "city": "string", "classification": "string", "country": "string", "custom_field_value_ids": [ "string" ], "email_address": "string", "external_reference_ids": [ "string" ], "full_name": "string", "headline": "string", "last_site_activity": "2019-08-24T14:15:22Z", "manager_id": "string", "photo_path": "string", "role_id": "string", "skill_ids": [ "string" ], "skill_membership_ids": [ "string" ], "state": "string", "website": "string", "work_sample_ids": [ "string" ] } }, "project_template_assignments": { "property1": { "name": "string", "project_template_id": "string", "role_id": "string", "role_initials": "string", "role_name": "string", "total_count": 0, "total_estimated_minutes": 0 }, "property2": { "name": "string", "project_template_id": "string", "role_id": "string", "role_initials": "string", "role_name": "string", "total_count": 0, "total_estimated_minutes": 0 } }, "project_template_additional_tabs": { "property1": { "associated_tab_id": 0, "project_template_id": 0, "tab_type": "string" }, "property2": { "associated_tab_id": 0, "project_template_id": 0, "tab_type": "string" } } }