API

Collaboration APIs

GET collaboration/task-templates/{taskTemplateId}

Gets details of a task template

HTTP method GET
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 2485, version 27

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
1

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.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select 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
<TaskTemplate>
2
     <TaskTemplateId
TaskTemplateId

TaskTemplate unique identifier

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

The status of a task template

Possible domain values can be found here

>
{Integer}</Status>
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.

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

The description of the task template

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

-True if the task template is only for the owner

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

The task template priority

Possible domain values can be found here

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

The title of a task template

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

The type of the task

Possible domain values can be found here

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

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

>
11
          <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
12
          <LastName
LastName

Last name of employee

>
{String}</LastName>
13
          <FirstName
FirstName

First name of employee

>
{String}</FirstName>
14
          <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
15
     </AssignedTo>
16
     <TaskProcessTemplate
TaskProcessTemplate

refers to the process template this task template belongs to

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

>
17
          <TaskProcessTemplateId
TaskProcessTemplateId

Unique identifier for task process template

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

>
{Integer}</TaskProcessTemplateId>
18
          <TaskProcessTemplateLink
TaskProcessTemplateLink

Unique identifier for task process template

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

>
{String}</TaskProcessTemplateLink>
19
     </TaskProcessTemplate>
20
     <ResponsibleRole
ResponsibleRole

Role (department etc.) responsible for a task

>
21
          <RoleId
RoleId

Role identifier

>
{Integer}</RoleId>
22
          <Name
Name

Name of the role

>
{String}</Name>
23
          <Description
Description

Description of the role

>
{String}</Description>
24
          <RoleLink
RoleLink

Role reference

>
{String}</RoleLink>
25
     </ResponsibleRole>
26
     <TaskTemplateLink
TaskTemplateLink

Reference to the task template

>
{String}</TaskTemplateLink>
27
</TaskTemplate>
1
{
2
     "taskTemplate": {
3
          "taskTemplateId
TaskTemplateId

TaskTemplate unique identifier

":
"{Integer}",
4
          "status
Status

The status of a task template

Possible domain values can be found here

":
"{Integer}",
5
          "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.

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

The description of the task template

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

-True if the task template is only for the owner

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

The task template priority

Possible domain values can be found here

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

The title of a task template

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

The type of the task

Possible domain values can be found here

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

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

":
{
12
               "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
13
               "lastName
LastName

Last name of employee

":
"{String}",
14
               "firstName
FirstName

First name of employee

":
"{String}",
15
               "employeeLink
EmployeeLink

Employee reference

":
"{String}"
16
          },
17
          "taskProcessTemplate
TaskProcessTemplate

refers to the process template this task template belongs to

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

":
{
18
               "taskProcessTemplateId
TaskProcessTemplateId

Unique identifier for task process template

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

":
"{Integer}",
19
               "taskProcessTemplateLink
TaskProcessTemplateLink

Unique identifier for task process template

This field is greyed out because it is an expandable field. You have to add $expand=TaskProcessTemplate in your request URI to get this field

":
"{String}"
20
          },
21
          "responsibleRole
ResponsibleRole

Role (department etc.) responsible for a task

":
{
22
               "roleId
RoleId

Role identifier

":
"{Integer}",
23
               "name
Name

Name of the role

":
"{String}",
24
               "description
Description

Description of the role

":
"{String}",
25
               "roleLink
RoleLink

Role reference

":
"{String}"
26
          },
27
          "taskTemplateLink
TaskTemplateLink

Reference to the task template

":
"{String}"
28
     }
29
}

Possible error codes the response might return:

Error 101606 HTTP 404 Module not found