Documentation API
Exemples de Points d'Accès
Tâche
Créer une Tâche
Create a new task
POST
/
task
Copy
curl --request POST \
--url https://local.casebender.com:3000/api/task \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"caseId": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<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
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request POST \
--url https://local.casebender.com:3000/api/task \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"caseId": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<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>"
}
Assistant
Responses are generated using AI and may contain mistakes.