Collaboration APIs
Creates a new task template
HTTP method | POST |
URI | https://api.rambase.net/collaboration/task-templates |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 2488, version 13 |
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.
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>Description
The description of the task template
This field is optional.
>{String}</Description>IsPrivate
-True if the task template is only for the owner
Default value: False
This field is optional.
>{Boolean}</IsPrivate>Priority
The task template priority
Applicable domain values can be found here
Default value: 3
This field is optional.
>{Integer}</Priority>Title
Required/mandatory field
The title of a task template
>{String}</Title>Type
The type of the task
Applicable domain values can be found here
This field is optional.
>{String}</Type>AssignedTo
The userId of the person this task will be assigned to (responsible for doing the work)
This field is optional.
>EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
>{Integer}</EmployeeId>TaskProcessTemplate
refers to the process template this task template belongs to
This field is optional.
>TaskProcessTemplateId
Unique identifier for task process template
Minimum value: 100000
This field is optional.
>{Integer}</TaskProcessTemplateId>ResponsibleRole
Role (department etc.) responsible for a task
This field is optional.
>RoleId
Role identifier
Minimum value: 100000
This field is optional.
>{Integer}</RoleId>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}",Description
The description of the task template
This field is optional.
": "{String}",IsPrivate
-True if the task template is only for the owner
Default value: False
This field is optional.
": "{Boolean}",Priority
The task template priority
Applicable domain values can be found here
Default value: 3
This field is optional.
": "{Integer}",Title
Required/mandatory field
The title of a task template
": "{String}",Type
The type of the task
Applicable domain values can be found here
This field is optional.
": "{String}",AssignedTo
The userId of the person this task will be assigned to (responsible for doing the work)
This field is optional.
": {EmployeeId
Employee identifier
Minimum value: 100
This field is optional.
": "{Integer}"TaskProcessTemplate
refers to the process template this task template belongs to
This field is optional.
": {TaskProcessTemplateId
Unique identifier for task process template
Minimum value: 100000
This field is optional.
": "{Integer}"ResponsibleRole
Role (department etc.) responsible for a task
This field is optional.
": {RoleId
Role identifier
Minimum value: 100000
This field is optional.
": "{Integer}"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. |
$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] |
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.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
TaskTemplateId
TaskTemplate unique identifier
>{Integer}</TaskTemplateId>Status
The status of a task template
Possible domain values can be found here
>{Integer}</Status>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>Description
The description of the task template
>{String}</Description>IsPrivate
-True if the task template is only for the owner
>{Boolean}</IsPrivate>Priority
The task template priority
Possible domain values can be found here
>{Integer}</Priority>Title
The title of a task template
>{String}</Title>AssignedTo
The userId of the person this task will be assigned to (responsible for doing the work)
>EmployeeId
Employee identifier
>{Integer}</EmployeeId>LastName
Last name of employee
>{String}</LastName>FirstName
First name of employee
>{String}</FirstName>EmployeeLink
Employee reference
>{String}</EmployeeLink>TaskProcessTemplateId
Unique identifier for task process template
>{Integer}</TaskProcessTemplateId>TaskProcessTemplateLink
Unique identifier for task process template
>{String}</TaskProcessTemplateLink>ResponsibleRole
Role (department etc.) responsible for a task
>RoleId
Role identifier
>{Integer}</RoleId>Name
Name of the role
>{String}</Name>Description
Description of the role
>{String}</Description>RoleLink
Role reference
>{String}</RoleLink>TaskTemplateLink
Reference to the task template
>{String}</TaskTemplateLink>TaskTemplateId
TaskTemplate unique identifier
": "{Integer}",Status
The status of a task template
Possible domain values can be found here
": "{Integer}",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}",Description
The description of the task template
": "{String}",IsPrivate
-True if the task template is only for the owner
": "{Boolean}",Priority
The task template priority
Possible domain values can be found here
": "{Integer}",Title
The title of a task template
": "{String}",Type
The type of the task
Possible domain values can be found here
": "{String}",AssignedTo
The userId of the person this task will be assigned to (responsible for doing the work)
": {EmployeeId
Employee identifier
": "{Integer}",LastName
Last name of employee
": "{String}",FirstName
First name of employee
": "{String}",EmployeeLink
Employee reference
": "{String}",TaskProcessTemplateId
Unique identifier for task process template
": "{Integer}",TaskProcessTemplateLink
Unique identifier for task process template
": "{String}"ResponsibleRole
Role (department etc.) responsible for a task
": {RoleId
Role identifier
": "{Integer}",Name
Name of the role
": "{String}",Description
Description of the role
": "{String}",RoleLink
Role reference
": "{String}"TaskTemplateLink
Reference to the task template
": "{String}"
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 |
Error 107255 HTTP 404 | Task template permission set not found |
Error 106965 HTTP 400 | This entity already exists in the task permissions |