Relesys API Docs

v1.3

https://api.relesystest.net/api/v1.3

Task Management

Update
PATCH /taskmanagementmodules/{moduleId}/tasks/{taskId}
https://api.relesystest.net/api/v1.3/taskmanagementmodules/{moduleId}/tasks/{taskId}
Update a task with taskId in a module with moduleId.
Accepts a JsonPatch request in the body and replaces provided fields.

The following fields are allowed to be updated:
name, locales, permissions, mediaIds, availableFrom, availableFromTimeZone, availableUntil, availableUntilTimeZone, notifyManagerOfDepartmentType, reminderDueSoonIntervalInDays, reminderIntervalInDays, lockByAvailableFrom, lockByAvailableUntil, hideAuthor, disableComments, assigneeType, assigneeIds, assignedDepartmentType, categoryIds, serviceFormId, recurrence (only for recurring task containers (parent tasks).

summary in locales must be provided using Markdown syntax.

When task has recurrence, availableFrom should be the same as the recurrence rule's DTSTART date, availableFromTimeZone must match availableUntilTimeZone, and availableUntil should be on the same day, since it is used for task's duration.

The Create Task endpoint's documentation provides information on all assignee related aspects.

For more information on permissions, Markdown syntax and recurrence rules visit their respective concept pages.
Scopes: relesys.api, relesys.api:write, relesys.api.taskmanagement, relesys.api.taskmanagement:write
URL Path
moduleId string / guid The module's unique identifier required
taskId string / guid The task's unique identifier required
Request Body
application/json-patch+json
JSON
[{"value":"New Task Name","path":"/name","op":"replace"},{"value":[{"culture":"da-DK","title":"Title","summary":"Summary"}],"path":"/locales","op":"replace"},{"value":[{"userGroups":[],"departments":[],"requireAllUserGroups":false}],"path":"/permissions","op":"replace"},{"value":"b18ddcc6-a259-4182-b1b0-1f2b8045eb05","path":"/mediaIds/-","op":"add"},{"value":"2025-10-10T13:00:00","path":"/availableFrom","op":"replace"},{"value":"2025-10-10T14:00:00","path":"/availableUntil","op":"replace"},{"value":"Country","path":"/notifyManagerOfDepartmentType","op":"replace"},{"value":1,"path":"/reminderDueSoonIntervalInDays","op":"replace"},{"value":1,"path":"/reminderIntervalInDays","op":"replace"},{"value":true,"path":"/lockByAvailableFrom","op":"replace"},{"value":false,"path":"/lockByAvailableUntil","op":"replace"},{"value":true,"path":"/hideAuthor","op":"replace"},{"value":true,"path":"/disableComments","op":"replace"},{"value":"SelectedUsers_RequireAll","path":"/assigneeType","op":"replace"},{"value":["4f8f7706-0b00-4c82-b967-bfa1c737086f","08130dca-9b26-483f-a3ac-4a9c8b501a88"],"path":"/assigneeIds","op":"replace"},{"value":["b206b87e-da41-4f31-9978-65fd405766c6"],"path":"/categoryIds","op":"replace"},{"value":"0ee35308-00ef-4c20-ae17-45b2aee1a18e","path":"/serviceFormId","op":"replace"}]
array[object]
  from string optional
  op string optional
  path string optional
  value object optional
Responses
application/json
JSON
{"data":{"id":"a4dacbd1-c1c3-467d-b081-a8f412a53178","name":"Internal name","recurrence":"FREQ=DAILY;DTSTART=20251010T130000;INTERVAL=1;COUNT=1","parentId":null,"locales":[{"culture":"en-GB","title":"Title 1","summary":"Summary 1"},{"culture":"en-GB","title":"Title 2","summary":"Summary 2"}],"categoryIds":["48e4d3d8-9c02-4543-825c-94efcb882400","7b2b3304-95f0-46bc-85bb-5c88587caa88"],"availableFrom":"2025-10-10T13:00:00","availableFromTimeZone":"FLE Standard Time","availableUntil":"2025-10-10T14:00:00","availableUntilTimeZone":"FLE Standard Time","subtaskIds":["b4d7784c-167e-470d-8fd5-1818979af094","14682832-4ada-4302-a85b-014bf29e5c47"],"serviceFormId":null,"medias":[{"id":"0513548b-06f7-42f7-8610-10299dc974e4","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"FileName.png"},{"id":"460f7e06-4259-443e-99d6-cdb58fda1c20","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"FileName.png"}],"permissions":[{"departments":[{"url":null,"name":"Department 1","id":"1e7818e3-d60e-4d95-b5ff-17ad4cc7f1ba"},{"url":null,"name":"Department 2","id":"b45a3a5d-7e18-44e5-a7bb-0c0922a9560a"}],"userGroups":[{"url":null,"name":"User group 1","id":"7f160a6a-b709-44de-93d2-1706328d5053"},{"url":null,"name":"User group 2","id":"91a4ecd2-1ef6-44af-8e2c-e6d45aa4f942"}],"requireAllUserGroups":false}],"status":"Published","assigneeType":"SelectedUsers_AtLeastOne","assigneeIds":["1dd0769a-1975-40ce-88de-6af393451d11","dcdd9a02-8e58-48f7-8766-f9c109447bda"],"assignedDepartmentType":null,"notifyManagerOfDepartmentType":"Country","reminderDueSoonIntervalInDays":1,"reminderIntervalInDays":null,"lockByAvailableFrom":false,"lockByAvailableUntil":true,"hideAuthor":false,"disableComments":false,"isUnsynchronizedWithParent":null,"creationDateTime":"2025-10-09T13:00:00+00:00","lastModifiedDateTime":null}}
object
  data object      
   assignedDepartmentType string      
   assigneeIds array[string / guid]      
   assigneeType string      
   availableFrom string      
   availableFromTimeZone string      
   availableUntil string      
   availableUntilTimeZone string      
   categoryIds array[string / guid]      
   creationDateTime datetimeoffset      
   disableComments boolean      
   hideAuthor boolean      
   id string / guid      
   isUnsynchronizedWithParent boolean      
   lastModifiedDateTime datetimeoffset      
   locales array[object]      
    culture string      
    summary string      
    title string      
   lockByAvailableFrom boolean      
   lockByAvailableUntil boolean      
   medias array[object]      
    contentType string      
    downloadUrl string      
    fileName string      
    id string / guid      
    referenceUrl string      
   name string      
   notifyManagerOfDepartmentType string      
   parentId string / guid      
   permissions array[object]      
    departments array[object]      
     id string / guid      
     name string      
     url string      
    requireAllUserGroups boolean      
    userGroups array[object]      
     id string / guid      
     name string      
     url string      
   recurrence string      
   reminderDueSoonIntervalInDays integer      
   reminderIntervalInDays integer      
   serviceFormId string / guid      
   status string      
   subtaskIds array[string / guid]