Passer au contenu principal
PUT
/
task
/
{id}
Update Task
curl --request PUT \
  --url https://local.casebender.com:3000/api/task/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Api-Secret: <api-key>' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "status": "<string>",
  "mandatory": true,
  "assigneeId": "<string>",
  "flagged": true,
  "dueDate": "<string>"
}
'
{
  "id": "<string>",
  "title": "<string>",
  "mandatory": true,
  "description": "<string>",
  "flagged": true,
  "dueDate": "<string>",
  "status": "<string>",
  "caseId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdById": "<string>",
  "assigneeId": "<string>",
  "deletedAt": "<string>"
}

Autorisations

X-Api-Key
string
header
requis
X-Api-Secret
string
header
requis

Paramètres de chemin

id
string
requis

Corps

application/json
title
string
description
string
status
string
mandatory
boolean
assigneeId
string | null
flagged
boolean
dueDate
string

Réponse

Successful response

id
string
requis
title
string
requis
mandatory
boolean
requis
description
string
requis
flagged
boolean
requis
dueDate
string
requis
status
string
requis
caseId
string
requis
createdAt
string
requis
updatedAt
string
requis
createdById
string
requis
assigneeId
string | null
deletedAt
string | null