メインコンテンツへスキップ
POST
/
task
Create Task
curl --request POST \
  --url https://local.casebender.com:3000/api/task \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Api-Secret: <api-key>' \
  --data '
{
  "caseId": "<string>",
  "title": "<string>",
  "mandatory": true,
  "description": "<string>",
  "flagged": true,
  "dueDate": "<string>",
  "status": "<string>",
  "assigneeId": "<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
必須

ボディ

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

レスポンス

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