English
Create a new task
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>" }'
{ "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>" }