Config

Create a Scheduling Task Template

Creates a new Scheduling Task Tempalate.

post/admin/config/scheduling-task-templates

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/config/scheduling-task-templates
  • Auth: HTTP basic

Request body

titlestring required

Scheduling Task Template title, min length: 3, max length: 64

task_titlestring required

Task title, min length: 3, max length: 64

task_descriptionstring

Scheduling Task Template description

task_project_idnumber

Scheduling Project ID

task_assigned_tostring

Assigned to: 'assigned_to_anyone', 'assigned_to_administrator', 'assigned_to_team'. Default: 'assigned_to_anyone'

task_assigned_to_idnumber

Assigned to id

task_checklist_template_idnumber

Task checklist template id

task_priority: `priority_low`string

Task priority: 'priority_low', 'priority_medium', 'priority_high'

Example request

{
  "title": "Scheduling Task Template title",
  "task_title": "Scheduling Task title",
  "task_description": "Task description",
  "task_project_id": 1,
  "task_assigned_to": "assigned_to_anyone",
  "task_assigned_to_id": 1,
  "task_checklist_template_id": 1,
  "additional_fields": [
    {
      "name": "remark",
      "title": "Remark",
      "type": "string",
      "position": 1,
      "default_value": "none",
      "min_length": "1",
      "max_length": "128",
      "is_add": 1,
      "set_default_value": 1,
      "decimals": 2
    }
  ]
}

Response

idnumber required

Scheduling Task Template ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.