API

Collaboration APIs

PUT collaboration/task-templates/{taskTemplateId}

Updates main fields on a task template

HTTP method PUT
URI https://api.rambase.net/collaboration/task-templates/{taskTemplateId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {taskTemplateId} TaskTemplate unique identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 2487, version 12

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
<TaskTemplate
TaskTemplate

This field is optional.

>
2
     <Status
Status

The status of a task template

Applicable domain values can be found here

This field is optional.

>
{Integer}</Status>
3
     <DeadlineOffset
DeadlineOffset

Days offset to the Process DEADLINE. If this is set to 4 (just an example), the deadline of this task will be calculated to 4 days after the process deadline.

Minimum value: 0

This field is optional.

>
{Integer}</DeadlineOffset>
4
     <Description
Description

The description of the task template

This field is optional.

>
{String}</Description>
5
     <IsPrivate
IsPrivate

-True if the task template is only for the owner

This field is optional.

>
{Boolean}</IsPrivate>
6
     <Priority
Priority

The task template priority

Applicable domain values can be found here

This field is optional.

>
{Integer}</Priority>
7
     <Title
Title

The title of a task template

This field is optional.

>
{String}</Title>
8
     <Type
Type

The type of the task

Applicable domain values can be found here

This field is optional.

>
{String}</Type>
9
     <AssignedTo
AssignedTo

The userId of the person this task will be assigned to (responsible for doing the work)

This field is optional.

>
10
          <EmployeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

>
{Integer}</EmployeeId>
11
     </AssignedTo>
12
     <TaskProcessTemplate
TaskProcessTemplate

refers to the process template this task template belongs to

This field is optional.

>
13
          <TaskProcessTemplateId
TaskProcessTemplateId

Unique identifier for task process template

Minimum value: 100000

This field is optional.

>
{Integer}</TaskProcessTemplateId>
14
     </TaskProcessTemplate>
15
     <ResponsibleRole
ResponsibleRole

Role (department etc.) responsible for a task

This field is optional.

>
16
          <RoleId
RoleId

Role identifier

Minimum value: 100000

This field is optional.

>
{Integer}</RoleId>
17
     </ResponsibleRole>
18
</TaskTemplate>
1
{
2
     "taskTemplate
TaskTemplate

This field is optional.

":
{
3
          "status
Status

The status of a task template

Applicable domain values can be found here

This field is optional.

":
"{Integer}",
4
          "deadlineOffset
DeadlineOffset

Days offset to the Process DEADLINE. If this is set to 4 (just an example), the deadline of this task will be calculated to 4 days after the process deadline.

Minimum value: 0

This field is optional.

":
"{Integer}",
5
          "description
Description

The description of the task template

This field is optional.

":
"{String}",
6
          "isPrivate
IsPrivate

-True if the task template is only for the owner

This field is optional.

":
"{Boolean}",
7
          "priority
Priority

The task template priority

Applicable domain values can be found here

This field is optional.

":
"{Integer}",
8
          "title
Title

The title of a task template

This field is optional.

":
"{String}",
9
          "type
Type

The type of the task

Applicable domain values can be found here

This field is optional.

":
"{String}",
10
          "assignedTo
AssignedTo

The userId of the person this task will be assigned to (responsible for doing the work)

This field is optional.

":
{
11
               "employeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

":
"{Integer}"
12
          },
13
          "taskProcessTemplate
TaskProcessTemplate

refers to the process template this task template belongs to

This field is optional.

":
{
14
               "taskProcessTemplateId
TaskProcessTemplateId

Unique identifier for task process template

Minimum value: 100000

This field is optional.

":
"{Integer}"
15
          },
16
          "responsibleRole
ResponsibleRole

Role (department etc.) responsible for a task

This field is optional.

":
{
17
               "roleId
RoleId

Role identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
18
          }
19
     }
20
}

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
1

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 101606 HTTP 404 Module not found