메인 콘텐츠로 건너뛰기
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