メインコンテンツへスキップ
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>"
}

承認

X-Api-Key
string
header
必須
X-Api-Secret
string
header
必須

パスパラメータ

id
string
必須

ボディ

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

レスポンス

Successful response

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