v1

latestOpenAPI 3.0.22026-07-24154101.1 MB
Task Management

Update Task List Template

put/v2/company/{company_id}/task_list_templates/{uuid}

Path parameters

company_idinteger required

Company ID

uuidstring required

Task List Template UUID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Request body

titlestring
descriptionstring nullable
statusinteger
recurrencestring

recurrence rules as defined by the RFC 5545 spec

duestring nullable

A date with YYYY-MM-DD format

Example request

{
  "recurrence": "RRULE:FREQ=WEEKLY;INTERVAL=1;WKST=MO",
  "due": "2020-01-01",
  "time_frame": {
    "start": "09:00:00",
    "end": "23:59:59"
  }
}

Response

The task list template

object'task_list_template' required

Example response

{
  "data": {
    "due": "2020-01-01",
    "recurrence": "RRULE:FREQ=WEEKLY;INTERVAL=1;WKST=MO",
    "time_frame": {
      "start": "09:00:00",
      "end": "23:59:59"
    }
  }
}