APIドキュメント
エンドポイント例
タスク
タスクの更新
Update a task
PUT
/
task
/
{id}
Copy
curl --request PUT \
--url https://local.casebender.com:3000/api/task/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"mandatory": true,
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>"
}'
Copy
{
"id": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<string>",
"caseId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"createdById": "<string>"
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request PUT \
--url https://local.casebender.com:3000/api/task/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"mandatory": true,
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>"
}'
Copy
{
"id": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<string>",
"caseId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"createdById": "<string>"
}
アシスタント
Responses are generated using AI and may contain mistakes.