Scheduling

Get Task Checklist

For getting checklists for few tasks you can use next request Example:

<?php

// for geting checklists for few tasks
$params = [
    'main_attributes' => [
        'task_id' => ['IN', [1,2], // Tasks IDs
    ],
];

// for geting checklists for all tasks
$params = [
    'main_attributes' => [
    ],
    // You can also set the limit and offset
    'limit' => 10,
    'offset' => 0,
];

$apiUrl = 'admin/scheduling/tasks-checklist' . '?' . http_build_query($params);

```Get Task Checklist items with the given task ID.
get/admin/scheduling/tasks-checklist/{task_id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/scheduling/tasks-checklist/{task_id}
  • Auth: HTTP basic

Path parameters

task_idnumber double required
Example:1

The ID of the desired Task.

Query parameters

checkedboolean

Optional. Filter by checked state of items.

idnumber

Optional. Filter to a specific checklist item ID.

Response

Example response

[
  {
    "checklist_template_item": {
      "id": 1,
      "checklist_template_id": 1,
      "name": "Prepare materials / tools"
    },
    "tasks_item_status": {
      "task_id": 1,
      "checklist_template_item_id": 1,
      "checked": true
    }
  }
]

Changes

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